leds: simatic-ipc-leds-gpio: Make simatic_ipc_led_gpio_table static
authorHans de Goede <hdegoede@redhat.com>
Sat, 10 Sep 2022 08:58:36 +0000 (10:58 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 10 Sep 2022 12:16:16 +0000 (14:16 +0200)
simatic_ipc_led_gpio_table is only used inside simatic-ipc-leds-gpio.c,
make it static.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220910085836.84962-1-hdegoede@redhat.com
drivers/leds/simple/simatic-ipc-leds-gpio.c

index 0d73dcb..b9eeb87 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/platform_device.h>
 #include <linux/platform_data/x86/simatic-ipc-base.h>
 
-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",