Skip to contentSkip to conversation

pinctrl: imx21: Remove the MODULE_DEVICE_TABLE() macro

PATCH In review Fabio Estevam 4 participants 5 messages Jul 6, 2016

Subsystems (4)
lore
Share & tools
lore

Fabio Estevam

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 drivers/pinctrl/freescale/pinctrl-imx21.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pinctrl/freescale/pinctrl-imx21.c +0 -1
index b9f9b3b..73e26bc 100644
@@ -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	= {
Signature · 1 line
1.9.1
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · CEST Fabio Estevam

Commit e2756baa4217 ("pinctrl: imx21: make it explicitly non-modular") missed the removal of the MODULE_DEVICE_TABLE() macro causing the following build error:

Quoted 8 lines

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.

#2 lore raw
In reply to Fabio Estevam
Quoted 11 lines · Fabio Estevam

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.

Patch applied with Arnd's ACK.

Yours,
Linus Walleij

#3 lore raw
Quoted 9 lines · [Re: [PATCH] pinctrl: imx21: Remove the MODULE_DEVICE_TABLE() macro] On…
Quoted 7 lines · Fabio Estevam

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);

Quoted 6 lines
Quoted 4 lines

,so remove the macro to fix this problem.

Patch applied with Arnd's ACK.

Thanks and sorry this one snuck through. I'm going to add walking all the various defconfigs to my build coverage akin to what linux-next does overnight. It seems the allmodconfig builds didn't hit this file...

Paul.
--

Quoted 3 lines

Yours,
Linus Walleij

#4 lore raw

n Wed, Jul 6, 2016 at 4:38 PM, Paul Gortmaker

Quoted 5 lines · <[email protected]> wrote:
Quoted 1 line

Patch applied with Arnd's ACK.

Thanks and sorry this one snuck through. I'm going to add walking all the various defconfigs to my build coverage akin to what linux-next does overnight. It seems the allmodconfig builds didn't hit this file...

Don't worry. I'm a big fan of your work on cleaning up this mess and surely I'm ready to do my part of making it happen.

Yours,
Linus Walleij