diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-09-10 10:58:36 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-09-10 14:16:16 +0200 |
commit | 8902437ce3e748cb4f6f036dcd45d7030fd5badb (patch) | |
tree | dc0e1af053a3afc48c0b085fce679a11b4ac73cd /drivers/leds | |
parent | 7318b613204942ccfd0973cd7f6e534baa86ff5e (diff) | |
download | linux-8902437ce3e748cb4f6f036dcd45d7030fd5badb.tar.gz linux-8902437ce3e748cb4f6f036dcd45d7030fd5badb.tar.bz2 linux-8902437ce3e748cb4f6f036dcd45d7030fd5badb.zip |
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 <lkp@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220910085836.84962-1-hdegoede@redhat.com
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/simple/simatic-ipc-leds-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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", |