pinctrl: imx: fix imx_pinctrl_desc initialization
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: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Родитель
ec61168bc0
Коммит
8f5983ad6b
|
@ -777,10 +777,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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче