summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/freescale
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2016-07-06 10:25:17 -0300
committerLinus Walleij <linus.walleij@linaro.org>2016-07-06 15:41:31 +0200
commit8229bcf887b5891e6afa3cdeee5be89f4f516c86 (patch)
treec3716c4a76088440bd3bcf777cf33b3c90e538bf /drivers/pinctrl/freescale
parent8e40439b068e436105cde4751109b957c6875a4a (diff)
downloadblackbird-op-linux-8229bcf887b5891e6afa3cdeee5be89f4f516c86.tar.gz
blackbird-op-linux-8229bcf887b5891e6afa3cdeee5be89f4f516c86.zip
pinctrl: imx21: Remove the MODULE_DEVICE_TABLE() macro
Commit e2756baa4217 ("pinctrl: imx21: make it explicitly non-modular") missed the removal of the MODULE_DEVICE_TABLE() macro causing the following build error: drivers/pinctrl/freescale/pinctrl-imx21.c:328:1: error: data definition has no type or storage class [-Werror] MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match); ,so remove the macro to fix this problem. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Fabio Estevam <festevam@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-imx21.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx21.c b/drivers/pinctrl/freescale/pinctrl-imx21.c
index b9f9b3b8eeb1..73e26bc12f09 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx21.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx21.c
@@ -325,7 +325,6 @@ static const struct of_device_id imx21_pinctrl_of_match[] = {
{ .compatible = "fsl,imx21-iomuxc", },
{ }
};
-MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match);
static struct platform_driver imx21_pinctrl_driver = {
.driver = {
OpenPOWER on IntegriCloud