summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal@smartplayin.com>2014-08-11 16:54:57 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-08-29 07:16:07 +0200
commitad3d7f1e8f0160b12ad8eb69f78015930645a166 (patch)
tree9ea8ace12571e8bea716fa1a45e7f76309713cc7 /drivers/pinctrl
parentpinctrl: Make of_device_id array const (diff)
downloadlinux-ad3d7f1e8f0160b12ad8eb69f78015930645a166.tar.xz
linux-ad3d7f1e8f0160b12ad8eb69f78015930645a166.zip
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)
{