The file uses regmap accessors as well as GENMASK without including the respective headers directly. Fix that. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/mfd/atmel-smc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/atmel-smc.c b/drivers/mfd/atmel-smc.c index 0eafbc06cd56..9432aa2c68ab 100644 --- a/drivers/mfd/atmel-smc.c +++ b/drivers/mfd/atmel-smc.c @@ -11,6 +11,8 @@ #include <linux/mfd/syscon/atmel-smc.h> #include <linux/string.h> #include <linux/export.h> +#include <linux/regmap.h> +#include <linux/bitops.h> /** * atmel_smc_cs_conf_init - initialize a SMC CS conf -- 2.39.2