From: Masahiro Yamada Date: Thu, 28 May 2015 12:57:23 +0000 (+0900) Subject: pinctrl: zynq: add static to zynq_pins X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c0b8555c15cc42b5baeeafd9b171b0b00091d811;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git pinctrl: zynq: add static to zynq_pins This array is only referenced in this file. Signed-off-by: Masahiro Yamada Signed-off-by: Linus Walleij --- 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"),