mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
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: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Link: https://lore.kernel.org/r/1592979844-18833-2-git-send-email-Anson.Huang@nxp.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
04630ac058
commit
b4554dee38
@ -878,6 +878,7 @@ int imx_pinctrl_probe(struct platform_device *pdev,
|
||||
|
||||
return pinctrl_enable(ipctl->pctl);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(imx_pinctrl_probe);
|
||||
|
||||
static int __maybe_unused imx_pinctrl_suspend(struct device *dev)
|
||||
{
|
||||
@ -897,3 +898,4 @@ const struct dev_pm_ops imx_pinctrl_pm_ops = {
|
||||
SET_LATE_SYSTEM_SLEEP_PM_OPS(imx_pinctrl_suspend,
|
||||
imx_pinctrl_resume)
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(imx_pinctrl_pm_ops);
|
||||
|
Loading…
Reference in New Issue
Block a user