Skip to content

Commit 8229bcf

Browse files
fabioestevamlinusw
authored andcommitted
pinctrl: imx21: Remove the MODULE_DEVICE_TABLE() macro
Commit e2756ba ("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 <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 8e40439 commit 8229bcf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/pinctrl/freescale/pinctrl-imx21.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ static const struct of_device_id imx21_pinctrl_of_match[] = {
325325
{ .compatible = "fsl,imx21-iomuxc", },
326326
{ }
327327
};
328-
MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match);
329328

330329
static struct platform_driver imx21_pinctrl_driver = {
331330
.driver = {

0 commit comments

Comments
 (0)