mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
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: 484bae9e4d ("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>
This commit is contained in:
parent
886ca11a0c
commit
4878e0b14c
|
|
@ -325,7 +325,7 @@ static int dell_uart_bl_serdev_probe(struct serdev_device *serdev)
|
|||
return PTR_ERR_OR_ZERO(dell_bl->bl);
|
||||
}
|
||||
|
||||
struct serdev_device_driver dell_uart_bl_serdev_driver = {
|
||||
static struct serdev_device_driver dell_uart_bl_serdev_driver = {
|
||||
.probe = dell_uart_bl_serdev_probe,
|
||||
.driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user