pinctrl: imx: fix imx_pinctrl_desc initialization
commit8f5983ad6b
upstream. Fixes:6e408ed8be
("pinctrl: imx: fix initialization of imx_pinctrl_desc") Reviewed-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
f34fbb92fe
commit
b01bbf221f
|
@ -778,10 +778,10 @@ int imx_pinctrl_probe(struct platform_device *pdev,
|
|||
imx_pinctrl_desc->name = dev_name(&pdev->dev);
|
||||
imx_pinctrl_desc->pins = info->pins;
|
||||
imx_pinctrl_desc->npins = info->npins;
|
||||
imx_pinctrl_desc->pctlops = &imx_pctrl_ops,
|
||||
imx_pinctrl_desc->pmxops = &imx_pmx_ops,
|
||||
imx_pinctrl_desc->confops = &imx_pinconf_ops,
|
||||
imx_pinctrl_desc->owner = THIS_MODULE,
|
||||
imx_pinctrl_desc->pctlops = &imx_pctrl_ops;
|
||||
imx_pinctrl_desc->pmxops = &imx_pmx_ops;
|
||||
imx_pinctrl_desc->confops = &imx_pinconf_ops;
|
||||
imx_pinctrl_desc->owner = THIS_MODULE;
|
||||
|
||||
ret = imx_pinctrl_probe_dt(pdev, info);
|
||||
if (ret) {
|
||||
|
|
Loading…
Reference in a new issue