From: Bartosz Golaszewski Date: Tue, 20 Dec 2016 11:28:18 +0000 (+0100) Subject: gpio: mockup: make pins_name_start static X-Git-Tag: v4.11-rc1~101^2~57 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e53c60289dfaba57fd8bf108406b94a71bb9bac1;p=linux.git gpio: mockup: make pins_name_start static This variable is not used outside this module. Make it static. Signed-off-by: Bartosz Golaszewski Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index 1ef85b0c2b1f..af0c1e835605 100644 --- a/drivers/gpio/gpio-mockup.c +++ b/drivers/gpio/gpio-mockup.c @@ -43,7 +43,7 @@ static int gpio_mockup_ranges[MAX_GC << 1]; static int gpio_mockup_params_nr; module_param_array(gpio_mockup_ranges, int, &gpio_mockup_params_nr, 0400); -const char pins_name_start = 'A'; +static const char pins_name_start = 'A'; static int mockup_gpio_get(struct gpio_chip *gc, unsigned int offset) {