diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2014-08-11 14:54:57 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-08-29 05:16:07 (GMT) |
commit | ad3d7f1e8f0160b12ad8eb69f78015930645a166 (patch) | |
tree | 9ea8ace12571e8bea716fa1a45e7f76309713cc7 /drivers | |
parent | 5dfe10b43a91642845dcf281e02ca43ffde0d750 (diff) | |
download | linux-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')
-rw-r--r-- | drivers/pinctrl/pinctrl-imx6sl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-imx6sl.c b/drivers/pinctrl/pinctrl-imx6sl.c index fa76d6c..e0924bd 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) { |