[PATCH v2 1/5] pinctrl: imx: use struct imx_pinctrl_soc_info as a const

Linus Walleij linus.walleij at linaro.org
Thu Jan 11 01:24:26 PST 2018


On Sat, Jan 6, 2018 at 3:25 PM, Stefan Agner <stefan at agner.ch> wrote:

> 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 at kernel.org>
> Cc: Arvind Yadav <arvind.yadav.cs at gmail.com>
> Cc: Dong Aisheng <aisheng.dong at nxp.com>
> Cc: Gary Bisson <gary.bisson at boundarydevices.com>
> Signed-off-by: Stefan Agner <stefan at agner.ch>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list