summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-01-17 12:21:08 +0100
committerPavel Machek <pavel@ucw.cz>2022-02-17 12:25:09 +0100
commita8f59497a430e8a93aa9a5b0fb0feefe061195ee (patch)
treeabbdb22effff4db8ed9aba483f0bfd9248cf63aa /drivers/leds
parentleds: lm3692x: Return 0 from remove callback (diff)
downloadlinux-a8f59497a430e8a93aa9a5b0fb0feefe061195ee.tar.xz
linux-a8f59497a430e8a93aa9a5b0fb0feefe061195ee.zip
leds: simatic-ipc-leds: Make simatic_ipc_led_mem_res static
simatic_ipc_led_mem_res is not used outside of the driver, make it static. Cc: Henning Schild <henning.schild@siemens.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/simple/simatic-ipc-leds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/simple/simatic-ipc-leds.c b/drivers/leds/simple/simatic-ipc-leds.c
index ff2c96e73241..179110448659 100644
--- a/drivers/leds/simple/simatic-ipc-leds.c
+++ b/drivers/leds/simple/simatic-ipc-leds.c
@@ -39,7 +39,7 @@ static struct simatic_ipc_led simatic_ipc_leds_io[] = {
};
/* the actual start will be discovered with PCI, 0 is a placeholder */
-struct resource simatic_ipc_led_mem_res = DEFINE_RES_MEM_NAMED(0, SZ_4K, KBUILD_MODNAME);
+static struct resource simatic_ipc_led_mem_res = DEFINE_RES_MEM_NAMED(0, SZ_4K, KBUILD_MODNAME);
static void *simatic_ipc_led_memory;