pinctrl: imx21: Remove the MODULE_DEVICE_TABLE() macro
authorFabio Estevam <festevam@gmail.com>
Wed, 6 Jul 2016 13:25:17 +0000 (10:25 -0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 6 Jul 2016 13:41:31 +0000 (15:41 +0200)
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>
drivers/pinctrl/freescale/pinctrl-imx21.c

index b9f9b3b8eeb175ad4298c413411932f45108192e..73e26bc12f09743ff2837ff6a18b78c2489fa640 100644 (file)
@@ -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 = {