Enable autoloading of pinctrl-imx6sl module when a corresponing DT entry is 
present.

Signed-off-by: Kiran Padwal <kiran.pad...@smartplayin.com>
---
 drivers/pinctrl/pinctrl-imx6sl.c |    1 +
 1 file changed, 1 insertion(+)

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to