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

From: Lee Jones
Date: Thu Oct 21 2021 - 07:13:04 EST


On Wed, 13 Oct 2021, Arnd Bergmann wrote:

> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> 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@xxxxxxxx>
> ---
> 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