summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-zynq.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-05-28 14:57:23 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-06-02 13:29:35 +0200
commitc0b8555c15cc42b5baeeafd9b171b0b00091d811 (patch)
tree0d5805586e32e9f7061287db274ba9890c7c77cc /drivers/pinctrl/pinctrl-zynq.c
parentpinctrl: mediatek: Fix pinctrl register irq fail bug. (diff)
downloadlinux-c0b8555c15cc42b5baeeafd9b171b0b00091d811.tar.xz
linux-c0b8555c15cc42b5baeeafd9b171b0b00091d811.zip
pinctrl: zynq: add static to zynq_pins
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-zynq.c')
-rw-r--r--drivers/pinctrl/pinctrl-zynq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c
index bb18d3e62160..58c4731b403e 100644
--- a/drivers/pinctrl/pinctrl-zynq.c
+++ b/drivers/pinctrl/pinctrl-zynq.c
@@ -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"),