pinctrl: zynq: add static to zynq_pins
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 28 May 2015 12:57:23 +0000 (21:57 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 2 Jun 2015 11:29:35 +0000 (13:29 +0200)
This array is only referenced in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-zynq.c

index bb18d3e62160446d2c7a7de85110e0c24746cff0..58c4731b403e08e6f5503b9ccb3dcb7a8297bc53 100644 (file)
@@ -125,7 +125,7 @@ enum zynq_pinmux_functions {
        ZYNQ_PMUX_MAX_FUNC
 };
 
-const struct pinctrl_pin_desc zynq_pins[] = {
+static const struct pinctrl_pin_desc zynq_pins[] = {
        PINCTRL_PIN(0,  "MIO0"),
        PINCTRL_PIN(1,  "MIO1"),
        PINCTRL_PIN(2,  "MIO2"),