[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YXFLOmeHdRPHy2he@google.com>
Date: Thu, 21 Oct 2021 12:12:58 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Thor Thayer <thor.thayer@...ux.intel.com>,
Arnd Bergmann <arnd@...db.de>, Mark Brown <broonie@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: altera-a10sr: include linux/module.h
On Wed, 13 Oct 2021, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.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@...db.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
Powered by blists - more mailing lists