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: Kiran Padwal <kiran.padwal@smartplayin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Kiran Padwal 2014-08-11 20:24:57 +05:30 committed by Linus Walleij
parent 5dfe10b43a
commit ad3d7f1e8f
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{