Commit ad3d7f1e authored by Kiran Padwal's avatar Kiran Padwal Committed by Linus Walleij

pinctrl: imx6sl: introduce MODULE_DEVICE_TABLE for module autoloading

Enable autoloading of pinctrl-imx6sl module when a corresponing DT entry is present.
Signed-off-by: default avatarKiran Padwal <kiran.padwal@smartplayin.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5dfe10b4
...@@ -370,6 +370,7 @@ static const struct of_device_id imx6sl_pinctrl_of_match[] = { ...@@ -370,6 +370,7 @@ static const struct of_device_id imx6sl_pinctrl_of_match[] = {
{ .compatible = "fsl,imx6sl-iomuxc", }, { .compatible = "fsl,imx6sl-iomuxc", },
{ /* sentinel */ } { /* sentinel */ }
}; };
MODULE_DEVICE_TABLE(of, imx6sl_pinctrl_of_match);
static int imx6sl_pinctrl_probe(struct platform_device *pdev) static int imx6sl_pinctrl_probe(struct platform_device *pdev)
{ {
......
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