From: Kiran Padwal Date: Mon, 11 Aug 2014 14:54:57 +0000 (+0530) Subject: pinctrl: imx6sl: introduce MODULE_DEVICE_TABLE for module autoloading X-Git-Tag: v3.18-rc1~148^2~44 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ad3d7f1e8f0160b12ad8eb69f78015930645a166;p=karo-tx-linux.git 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 Signed-off-by: Linus Walleij --- 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) {