pinctrl: imx21: Remove the MODULE_DEVICE_TABLE() macro
Subsystems (4)
Fabio Estevam
maintainerPATCH 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
@@ -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
Quoted 4 lines · CEST Fabio Estevam
Commit
e2756baa4217("pinctrl: imx21: make it explicitly non-modular") missed the removal of theMODULE_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.
Reported-by Arnd Bergmann <[email protected]>Signed-off-by Fabio Estevam <[email protected]>
Quoted 11 lines · Fabio Estevam
Commit
e2756baa4217("pinctrl: imx21: make it explicitly non-modular") missed the removal of theMODULE_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]>
Patch applied with Arnd's ACK.
Yours,
Linus Walleij
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 theMODULE_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.
Reported-by Arnd Bergmann <[email protected]>Signed-off-by Fabio Estevam <[email protected]>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
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