提交 5d11f839 编写于 作者: F Fabio Estevam 提交者: Linus Walleij

pinctrl: imx93: Add MODULE_DEVICE_TABLE()

Pass MODULE_DEVICE_TABLE() so that module autoloading can work.

This also aligns with the other i.MX8 pinctrl drivers.
Signed-off-by: NFabio Estevam <festevam@denx.de>
Reviewed-by: NJacky Bai <ping.bai@nxp.com>
Link: https://lore.kernel.org/r/20220712115154.2348971-1-festevam@denx.deSigned-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 0569af48
...@@ -246,6 +246,7 @@ static const struct of_device_id imx93_pinctrl_of_match[] = { ...@@ -246,6 +246,7 @@ static const struct of_device_id imx93_pinctrl_of_match[] = {
{ .compatible = "fsl,imx93-iomuxc", }, { .compatible = "fsl,imx93-iomuxc", },
{ /* sentinel */ } { /* sentinel */ }
}; };
MODULE_DEVICE_TABLE(of, imx93_pinctrl_of_match);
static int imx93_pinctrl_probe(struct platform_device *pdev) static int imx93_pinctrl_probe(struct platform_device *pdev)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册