提交 8229bcf8 编写于 作者: F Fabio Estevam 提交者: Linus Walleij

pinctrl: imx21: Remove the MODULE_DEVICE_TABLE() macro

Commit e2756baa ("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: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NFabio Estevam <festevam@gmail.com>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 8e40439b
...@@ -325,7 +325,6 @@ static const struct of_device_id imx21_pinctrl_of_match[] = { ...@@ -325,7 +325,6 @@ static const struct of_device_id imx21_pinctrl_of_match[] = {
{ .compatible = "fsl,imx21-iomuxc", }, { .compatible = "fsl,imx21-iomuxc", },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match);
static struct platform_driver imx21_pinctrl_driver = { static struct platform_driver imx21_pinctrl_driver = {
.driver = { .driver = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册