diff options
author | Stefan Agner <stefan@agner.ch> | 2018-01-06 17:25:52 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-11 12:29:40 +0300 |
commit | d6093367bc743bc6679ab75a89cd3dd93476a755 (patch) | |
tree | 554c3ee30e899e0ffe06a1ea6f30c80050339f23 /drivers/pinctrl/freescale/pinctrl-imx.h | |
parent | 7c017687f8103067e66103744ce76ae92e0a40f5 (diff) | |
download | linux-d6093367bc743bc6679ab75a89cd3dd93476a755.tar.xz |
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.h')
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx.h b/drivers/pinctrl/freescale/pinctrl-imx.h index 41ee75537da4..038e8c0e5b96 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx.h +++ b/drivers/pinctrl/freescale/pinctrl-imx.h @@ -71,7 +71,7 @@ struct imx_pinctrl_soc_info { bool generic_pinconf; const struct pinconf_generic_params *custom_params; unsigned int num_custom_params; - struct imx_cfg_params_decode *decodes; + const struct imx_cfg_params_decode *decodes; unsigned int num_decodes; void (*fixup)(unsigned long *configs, unsigned int num_configs, u32 *raw_config); |