summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal@smartplayin.com>2014-08-11 18:54:57 +0400
committerLinus Walleij <linus.walleij@linaro.org>2014-08-29 09:16:07 +0400
commitad3d7f1e8f0160b12ad8eb69f78015930645a166 (patch)
tree9ea8ace12571e8bea716fa1a45e7f76309713cc7 /drivers/pinctrl
parent5dfe10b43a91642845dcf281e02ca43ffde0d750 (diff)
downloadlinux-ad3d7f1e8f0160b12ad8eb69f78015930645a166.tar.xz
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-imx6sl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-imx6sl.c b/drivers/pinctrl/pinctrl-imx6sl.c
index fa76d6cb15cf..e0924bd7b98c 100644
--- a/drivers/pinctrl/pinctrl-imx6sl.c
+++ b/drivers/pinctrl/pinctrl-imx6sl.c
@@ -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)
{