From 37f127cf8112461cd9d8ec38551bc4af87cb27f5 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Wed, 13 Oct 2021 16:43:55 +0200 Subject: mfd: altera-a10sr: Include linux/module.h 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 Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20211013144402.2292128-1-arnd@kernel.org --- drivers/mfd/altera-a10sr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/mfd') diff --git a/drivers/mfd/altera-a10sr.c b/drivers/mfd/altera-a10sr.c index 6d04fdd09ca2..34ef526f4aee 100644 --- a/drivers/mfd/altera-a10sr.c +++ b/drivers/mfd/altera-a10sr.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3