]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:12 +0000 (14:39 +0200)
commit0654ea13976cbb526f80956246e236c6a5340629
tree180c917a9346cb465fbbc59e17ef68f0a1b45da2
parenta4f38bc600f3dc6b4144a7907d6dd563ecdc65e6
platform/x86: dell-uart-backlight: Make dell_uart_bl_serdev_driver static

[ Upstream commit 4878e0b14c3e31a87ab147bd2dae443394cb5a2c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/dell/dell-uart-backlight.c