Commit b4554dee authored by Anson Huang's avatar Anson Huang Committed by Linus Walleij

pinctrl: imx: Support i.MX8 SoCs pinctrl driver built as module

Export necessary APIs to support i.MX8 SoCs pinctrl driver to be
built as module.
Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Reviewed-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Link: https://lore.kernel.org/r/1592979844-18833-2-git-send-email-Anson.Huang@nxp.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 04630ac0
...@@ -878,6 +878,7 @@ int imx_pinctrl_probe(struct platform_device *pdev, ...@@ -878,6 +878,7 @@ int imx_pinctrl_probe(struct platform_device *pdev,
return pinctrl_enable(ipctl->pctl); return pinctrl_enable(ipctl->pctl);
} }
EXPORT_SYMBOL_GPL(imx_pinctrl_probe);
static int __maybe_unused imx_pinctrl_suspend(struct device *dev) static int __maybe_unused imx_pinctrl_suspend(struct device *dev)
{ {
...@@ -897,3 +898,4 @@ const struct dev_pm_ops imx_pinctrl_pm_ops = { ...@@ -897,3 +898,4 @@ const struct dev_pm_ops imx_pinctrl_pm_ops = {
SET_LATE_SYSTEM_SLEEP_PM_OPS(imx_pinctrl_suspend, SET_LATE_SYSTEM_SLEEP_PM_OPS(imx_pinctrl_suspend,
imx_pinctrl_resume) imx_pinctrl_resume)
}; };
EXPORT_SYMBOL_GPL(imx_pinctrl_pm_ops);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment