diff options
author | Stefan Agner <stefan@agner.ch> | 2018-01-06 15:25:51 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-11 10:29:37 +0100 |
commit | 7c017687f8103067e66103744ce76ae92e0a40f5 (patch) | |
tree | 599cd2fd27e3c9e3daccdbb06198a38698a895b1 /drivers/pinctrl/freescale/pinctrl-vf610.c | |
parent | pinctrl: imx7d: simplify imx7d_pinctrl_probe (diff) | |
download | linux-7c017687f8103067e66103744ce76ae92e0a40f5.tar.xz linux-7c017687f8103067e66103744ce76ae92e0a40f5.zip |
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-vf610.c')
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-vf610.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-vf610.c b/drivers/pinctrl/freescale/pinctrl-vf610.c index 42745c690be3..c078f859ae15 100644 --- a/drivers/pinctrl/freescale/pinctrl-vf610.c +++ b/drivers/pinctrl/freescale/pinctrl-vf610.c @@ -318,7 +318,7 @@ static int vf610_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, return 0; } -static struct imx_pinctrl_soc_info vf610_pinctrl_info = { +static const struct imx_pinctrl_soc_info vf610_pinctrl_info = { .pins = vf610_pinctrl_pads, .npins = ARRAY_SIZE(vf610_pinctrl_pads), .flags = SHARE_MUX_CONF_REG | ZERO_OFFSET_VALID, |