Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1545060
| From | Bartosz Golaszewski <bgolaszewski@baylibre.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/3] gpio: mockup: make pins_name_start static |
| Date | 2016-12-20 12:30 +0100 |
| Message-ID | <sQqMi-4Vr-23@gated-at.bofh.it> (permalink) |
| References | <sQqMh-4Vr-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This variable is not used outside this module. Make it static.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
drivers/gpio/gpio-mockup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c
index 1ef85b0..af0c1e8 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)
{
--
2.9.3
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] gpio: mockup: bug fixes and tweaks Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-20 12:30 +0100
[PATCH 1/3] gpio: mockup: make pins_name_start static Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-20 12:30 +0100
Re: [PATCH 1/3] gpio: mockup: make pins_name_start static Linus Walleij <linus.walleij@linaro.org> - 2016-12-28 14:20 +0100
csiph-web