提交 ad3d7f1e 编写于 作者: K Kiran Padwal 提交者: 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: NKiran Padwal <kiran.padwal@smartplayin.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 5dfe10b4
......@@ -370,6 +370,7 @@ static const struct of_device_id imx6sl_pinctrl_of_match[] = {
{ .compatible = "fsl,imx6sl-iomuxc", },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, imx6sl_pinctrl_of_match);
static int imx6sl_pinctrl_probe(struct platform_device *pdev)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册