mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
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>
This commit is contained in:
parent
cf642faef7
commit
a8f59497a4
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
/* 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;
|
static void *simatic_ipc_led_memory;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue