From 8902437ce3e748cb4f6f036dcd45d7030fd5badb Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sat, 10 Sep 2022 10:58:36 +0200 Subject: leds: simatic-ipc-leds-gpio: Make simatic_ipc_led_gpio_table static simatic_ipc_led_gpio_table is only used inside simatic-ipc-leds-gpio.c, make it static. Reported-by: kernel test robot Signed-off-by: Hans de Goede Link: https://lore.kernel.org/r/20220910085836.84962-1-hdegoede@redhat.com --- drivers/leds/simple/simatic-ipc-leds-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/leds') diff --git a/drivers/leds/simple/simatic-ipc-leds-gpio.c b/drivers/leds/simple/simatic-ipc-leds-gpio.c index 0d73dcbeec2d..b9eeb8702df0 100644 --- a/drivers/leds/simple/simatic-ipc-leds-gpio.c +++ b/drivers/leds/simple/simatic-ipc-leds-gpio.c @@ -15,7 +15,7 @@ #include #include -struct gpiod_lookup_table *simatic_ipc_led_gpio_table; +static struct gpiod_lookup_table *simatic_ipc_led_gpio_table; static struct gpiod_lookup_table simatic_ipc_led_gpio_table_127e = { .dev_id = "leds-gpio", -- cgit v1.2.3