diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-12-16 20:25:16 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-12-20 12:27:43 +0100 |
commit | f41a1efe63c6fc101b9c5b478c9dc22a43312b21 (patch) | |
tree | 79c3a1737ca80da55d3b56b821026a4bc2933fcc /drivers/pinctrl/sh-pfc/pfc-sh7203.c | |
parent | pinctrl: sh-pfc: Constify IRQ GPIOs arrays (diff) | |
download | linux-f41a1efe63c6fc101b9c5b478c9dc22a43312b21.tar.xz linux-f41a1efe63c6fc101b9c5b478c9dc22a43312b21.zip |
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-sh7203.c')
-rw-r--r-- | drivers/pinctrl/sh-pfc/pfc-sh7203.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7203.c b/drivers/pinctrl/sh-pfc/pfc-sh7203.c index bf3d8f28768d..3bda7bafd0ab 100644 --- a/drivers/pinctrl/sh-pfc/pfc-sh7203.c +++ b/drivers/pinctrl/sh-pfc/pfc-sh7203.c @@ -702,7 +702,7 @@ static const u16 pinmux_data[] = { PINMUX_DATA(SSCK0_PF_MARK, PF0MD_11), }; -static struct sh_pfc_pin pinmux_pins[] = { +static const struct sh_pfc_pin pinmux_pins[] = { /* PA */ PINMUX_GPIO(PA7), PINMUX_GPIO(PA6), |