[PATCH 09/11] mfd: atmel-smc: include needed headers directly

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Oct 20 00:18:51 PDT 2023


The file uses regmap accessors as well as GENMASK without including
the respective headers directly. Fix that.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 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




More information about the barebox mailing list