pinctrl: imx93: Add MODULE_DEVICE_TABLE()
authorFabio Estevam <festevam@denx.de>
Tue, 12 Jul 2022 11:51:54 +0000 (08:51 -0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 Jul 2022 09:42:21 +0000 (11:42 +0200)
Pass MODULE_DEVICE_TABLE() so that module autoloading can work.

This also aligns with the other i.MX8 pinctrl drivers.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Link: https://lore.kernel.org/r/20220712115154.2348971-1-festevam@denx.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-imx93.c

index c0630f6..2b6cbf2 100644 (file)
@@ -246,6 +246,7 @@ static const struct of_device_id imx93_pinctrl_of_match[] = {
        { .compatible = "fsl,imx93-iomuxc", },
        { /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, imx93_pinctrl_of_match);
 
 static int imx93_pinctrl_probe(struct platform_device *pdev)
 {