From: Masahiro Yamada Date: Thu, 28 May 2015 12:57:53 +0000 (+0900) Subject: pinctrl: zynq: add static const to zynq_pctrl_groups X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4fd24e220e738feb210d0c031eb16de13b87a2df;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Sören Brinkmann Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c index 58c4731b403e..40b2affcbeef 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),