summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-mockup.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2016-12-20 14:28:18 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-12-28 16:11:57 +0300
commite53c60289dfaba57fd8bf108406b94a71bb9bac1 (patch)
tree888f80ac0f499a0a6ca5fcbb6935ce60e43a8bec /drivers/gpio/gpio-mockup.c
parent2d65472bcb3f2e1f305529655bb06054dc9e2804 (diff)
downloadlinux-e53c60289dfaba57fd8bf108406b94a71bb9bac1.tar.xz
gpio: mockup: make pins_name_start static
This variable is not used outside this module. Make it static. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-mockup.c')
-rw-r--r--drivers/gpio/gpio-mockup.c2
1 files changed, 1 insertions, 1 deletions
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)
{