aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-09-10 10:58:36 +0200
committerHans de Goede <hdegoede@redhat.com>2022-09-10 14:16:16 +0200
commit8902437ce3e748cb4f6f036dcd45d7030fd5badb (patch)
treedc0e1af053a3afc48c0b085fce679a11b4ac73cd /drivers/leds
parentplatform/x86: asus-wmi: Make kbd_rgb_mode_groups static (diff)
downloadlinux-dev-8902437ce3e748cb4f6f036dcd45d7030fd5badb.tar.xz
linux-dev-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.c2
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",