summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/cirrus.h
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-01-06 15:25:49 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-01-11 10:29:18 +0100
commitf5843492ecefcf766963518f14bcf8d77b88338c (patch)
treee30b090188570ea4f1a0df45c28f2f3abda788c6 /drivers/pcmcia/cirrus.h
parentpinctrl: sunxi-pinctrl: fix pin funtion can not be match correctly. (diff)
downloadlinux-f5843492ecefcf766963518f14bcf8d77b88338c.tar.xz
linux-f5843492ecefcf766963518f14bcf8d77b88338c.zip
pinctrl: imx: use struct imx_pinctrl_soc_info as a const
For some SoCs the struct imx_pinctrl_soc_info is passed through of_device_id.data which is const. Most variables are already const or otherwise not written. However, some fields are modified at runtime. Move those fields to the dynamically allocated struct imx_pinctrl. Fixes: b3060044e495 ("pinctrl: freescale: imx7d: make of_device_ids const") Cc: Shawn Guo <shawnguo@kernel.org> Cc: Arvind Yadav <arvind.yadav.cs@gmail.com> Cc: Gary Bisson <gary.bisson@boundarydevices.com> 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/pcmcia/cirrus.h')
0 files changed, 0 insertions, 0 deletions