]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: dell-uart-backlight: Make dell_uart_bl_serdev_driver static
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 4 Mar 2025 16:06:39 +0000 (18:06 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 5 Mar 2025 11:57:11 +0000 (13:57 +0200)
commit4878e0b14c3e31a87ab147bd2dae443394cb5a2c
treee428bcdaa22c60bcfcb6cc532c009de7af71a2c7
parent886ca11a0c70efe5627a18557062e8a44370d78f
platform/x86: dell-uart-backlight: Make dell_uart_bl_serdev_driver static

Sparse reports:

dell-uart-backlight.c:328:29: warning: symbol
'dell_uart_bl_serdev_driver' was not declared. Should it be static?

Fix it by making the symbol static.

Fixes: 484bae9e4d6ac ("platform/x86: Add new Dell UART backlight driver")
Reviewed-by: Mario Limonciello <maroi.limonciello@amd.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20250304160639.4295-2-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/dell/dell-uart-backlight.c