diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-12-16 14:25:16 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-12-20 06:27:43 -0500 |
commit | f41a1efe63c6fc101b9c5b478c9dc22a43312b21 (patch) | |
tree | 79c3a1737ca80da55d3b56b821026a4bc2933fcc /drivers/pinctrl/sh-pfc/pfc-sh7786.c | |
parent | 6d5bddd5258c11f58cc6a6d17cd97ce5ad39a270 (diff) |
pinctrl: sh-pfc: sh: Constify pins and cfg_regs arrays
The arrays are never modified, declare them as const.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-sh7786.c')
-rw-r--r-- | drivers/pinctrl/sh-pfc/pfc-sh7786.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7786.c b/drivers/pinctrl/sh-pfc/pfc-sh7786.c index 623345fac936..6cb4e0aaf20b 100644 --- a/drivers/pinctrl/sh-pfc/pfc-sh7786.c +++ b/drivers/pinctrl/sh-pfc/pfc-sh7786.c | |||
@@ -407,7 +407,7 @@ static const u16 pinmux_data[] = { | |||
407 | PINMUX_DATA(SSI3_SCK_MARK, P2MSEL6_1, P2MSEL5_1, PJ1_FN), | 407 | PINMUX_DATA(SSI3_SCK_MARK, P2MSEL6_1, P2MSEL5_1, PJ1_FN), |
408 | }; | 408 | }; |
409 | 409 | ||
410 | static struct sh_pfc_pin pinmux_pins[] = { | 410 | static const struct sh_pfc_pin pinmux_pins[] = { |
411 | /* PA */ | 411 | /* PA */ |
412 | PINMUX_GPIO(PA7), | 412 | PINMUX_GPIO(PA7), |
413 | PINMUX_GPIO(PA6), | 413 | PINMUX_GPIO(PA6), |