pinctrl: imx: fix imx_pinctrl_desc initialization
authorGary Bisson <gary.bisson@boundarydevices.com>
Thu, 24 Nov 2016 18:11:51 +0000 (19:11 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 25 Nov 2016 13:09:21 +0000 (14:09 +0100)
Fixes: 6e408ed8be0e ("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>
drivers/pinctrl/freescale/pinctrl-imx.c

index 47613201269af42dd3fff670c92008333bf0adf0..97e9ddc844670d7dc1124d966ea12d7cf8811803 100644 (file)
@@ -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) {