diff options
author | Stefan Agner <stefan@agner.ch> | 2018-01-06 15:25:52 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-11 10:29:40 +0100 |
commit | d6093367bc743bc6679ab75a89cd3dd93476a755 (patch) | |
tree | 554c3ee30e899e0ffe06a1ea6f30c80050339f23 /drivers/pinctrl/freescale/pinctrl-imx.c | |
parent | pinctrl: imx: constify struct imx_pinctrl_soc_info (diff) | |
download | linux-d6093367bc743bc6679ab75a89cd3dd93476a755.tar.xz linux-d6093367bc743bc6679ab75a89cd3dd93476a755.zip |
pinctrl: imx7ulp: constify struct imx_cfg_params_decode
The decode parameters are constant mark them const.
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-imx.c')
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx.c b/drivers/pinctrl/freescale/pinctrl-imx.c index 86256d25c4a3..24aaddd760a0 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx.c +++ b/drivers/pinctrl/freescale/pinctrl-imx.c @@ -255,7 +255,7 @@ static u32 imx_pinconf_decode_generic_config(struct imx_pinctrl *ipctl, unsigned int num_configs) { const struct imx_pinctrl_soc_info *info = ipctl->info; - struct imx_cfg_params_decode *decode; + const struct imx_cfg_params_decode *decode; enum pin_config_param param; u32 raw_config = 0; u32 param_val; |