Re: [PATCH] pinctrl: imx21: include linux/module.h

From: Arnd Bergmann
Date: Wed Jul 06 2016 - 09:17:12 EST


On Wednesday, July 6, 2016 10:15:41 AM CEST Fabio Estevam wrote:
> I think the correct fix here would be:
>
> --- a/drivers/pinctrl/freescale/pinctrl-imx21.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx21.c
> @@ -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 = {
>
>
> If you agree I can send a formal patch.

Fine with me too.

Arnd