summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/freescale/pinctrl-imx53.c
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-01-06 17:25:51 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-01-11 12:29:37 +0300
commit7c017687f8103067e66103744ce76ae92e0a40f5 (patch)
tree599cd2fd27e3c9e3daccdbb06198a38698a895b1 /drivers/pinctrl/freescale/pinctrl-imx53.c
parent7372077542b0d5b6a1ed68493e5758045119cedd (diff)
downloadlinux-7c017687f8103067e66103744ce76ae92e0a40f5.tar.xz
pinctrl: imx: constify struct imx_pinctrl_soc_info
Now that imx_pinctrl_probe accepts const struct imx_pinctrl_soc_info we can constify all declarations of struct imx_pinctrl_soc_info. Signed-off-by: Stefan Agner <stefan@agner.ch> Acked-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx53.c')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-imx53.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx53.c b/drivers/pinctrl/freescale/pinctrl-imx53.c
index 46a9572f3473..6dd0c60eaea4 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx53.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx53.c
@@ -448,7 +448,7 @@ static const struct pinctrl_pin_desc imx53_pinctrl_pads[] = {
IMX_PINCTRL_PIN(MX53_PAD_GPIO_18),
};
-static struct imx_pinctrl_soc_info imx53_pinctrl_info = {
+static const struct imx_pinctrl_soc_info imx53_pinctrl_info = {
.pins = imx53_pinctrl_pads,
.npins = ARRAY_SIZE(imx53_pinctrl_pads),
.gpr_compatible = "fsl,imx53-iomuxc-gpr",