Skip to content

Commit

Permalink
leds: simatic-ipc-leds: Make simatic_ipc_led_mem_res static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hans de Goede authored and Pavel Machek committed Feb 17, 2022
1 parent cf642fa commit a8f5949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/leds/simple/simatic-ipc-leds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a8f5949

Please sign in to comment.