pinctrl: zynq: add static const to zynq_pctrl_groups
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 28 May 2015 12:57:53 +0000 (21:57 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 2 Jun 2015 11:30:33 +0000 (13:30 +0200)
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>
drivers/pinctrl/pinctrl-zynq.c

index 58c4731b403e08e6f5503b9ccb3dcb7a8297bc53..40b2affcbeef21e3fc3217a9a0c5056786c23449 100644 (file)
@@ -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),