Skip to content

Commit

Permalink
leds: simatic-ipc-leds-gpio: Make simatic_ipc_led_gpio_table static
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Hans de Goede committed Sep 10, 2022
1 parent 7318b61 commit 8902437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/leds/simple/simatic-ipc-leds-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8902437

Please sign in to comment.