Re: [PATCH] mfd: altera-a10sr: include linux/module.h

Lee Jones
2021-10-21T11:13:04Z

On Wed, 13 Oct 2021, Arnd Bergmann wrote:

> From: Arnd Bergmann <arnd@arndb.de>
>
> Without the header, the MODULE_DEVICE_TABLE() declaration fails:
>
> drivers/mfd/altera-a10sr.c:153:1: error: data definition has no type or storage class [-Werror]
> 153 | MODULE_DEVICE_TABLE(of, altr_a10sr_spi_of_match);
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/mfd/altera-a10sr.c | 1 +
> 1 file changed, 1 insertion(+)

Applied, thanks.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog