diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2014-08-11 16:54:57 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-08-29 07:16:07 +0200 |
commit | ad3d7f1e8f0160b12ad8eb69f78015930645a166 (patch) | |
tree | 9ea8ace12571e8bea716fa1a45e7f76309713cc7 /drivers/pinctrl | |
parent | pinctrl: Make of_device_id array const (diff) | |
download | linux-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.c | 1 |
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) { |