diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-05-28 12:57:53 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-06-02 11:30:33 (GMT) |
commit | 4fd24e220e738feb210d0c031eb16de13b87a2df (patch) | |
tree | 1e0c3e5dc0af6e154ae8d22165000eb2a34564d3 /drivers/pinctrl | |
parent | c0b8555c15cc42b5baeeafd9b171b0b00091d811 (diff) | |
download | linux-4fd24e220e738feb210d0c031eb16de13b87a2df.tar.xz |
pinctrl: zynq: add static const to zynq_pctrl_groups
This array is only referenced in this file and never updated.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/pinctrl-zynq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c index 58c4731..40b2aff 100644 --- a/drivers/pinctrl/pinctrl-zynq.c +++ b/drivers/pinctrl/pinctrl-zynq.c @@ -393,7 +393,7 @@ static const unsigned int usb1_0_pins[] = {40, 41, 42, 43, 44, 45, 46, 47, 48, .npins = ARRAY_SIZE(nm ## _pins), \ } -struct zynq_pctrl_group zynq_pctrl_groups[] = { +static const struct zynq_pctrl_group zynq_pctrl_groups[] = { DEFINE_ZYNQ_PINCTRL_GRP(ethernet0_0), DEFINE_ZYNQ_PINCTRL_GRP(ethernet1_0), DEFINE_ZYNQ_PINCTRL_GRP(mdio0_0), |