Skip to content

Commit a8f5949

Browse files
jwrdegoedepavelmachek
authored andcommitted
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>
1 parent cf642fa commit a8f5949

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/leds/simple/simatic-ipc-leds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static struct simatic_ipc_led simatic_ipc_leds_io[] = {
3939
};
4040

4141
/* the actual start will be discovered with PCI, 0 is a placeholder */
42-
struct resource simatic_ipc_led_mem_res = DEFINE_RES_MEM_NAMED(0, SZ_4K, KBUILD_MODNAME);
42+
static struct resource simatic_ipc_led_mem_res = DEFINE_RES_MEM_NAMED(0, SZ_4K, KBUILD_MODNAME);
4343

4444
static void *simatic_ipc_led_memory;
4545

0 commit comments

Comments
 (0)