summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2016-12-20 12:28:18 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-12-28 14:11:57 +0100
commite53c60289dfaba57fd8bf108406b94a71bb9bac1 (patch)
tree888f80ac0f499a0a6ca5fcbb6935ce60e43a8bec /drivers
parentgpio: rcar: Fine-grained Runtime PM support (diff)
downloadlinux-e53c60289dfaba57fd8bf108406b94a71bb9bac1.tar.xz
linux-e53c60289dfaba57fd8bf108406b94a71bb9bac1.zip
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')
-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)
{