mirror of https://gitee.com/openkylin/linux.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 <yamada.masahiro@socionext.com> Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
c0b8555c15
commit
4fd24e220e
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue