Skip to contentSkip to conversation

mfd: syscon: atmel-smc: include string.h

PATCH New Sebastian Andrzej Siewior 1 participant 1 message Oct 4, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: syscon: atmel-smc: include string.h

The string.h header file is needed for the memset() definition. The RT build fails because it is not pulled in via other header files.

---
 drivers/mfd/atmel-smc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mfd/atmel-smc.c +1 -0
index 7d77948567d7..0adbd2e796fe 100644
@@ -12,6 +12,7 @@
  */
 
 #include <linux/mfd/syscon/atmel-smc.h>
+#include <linux/string.h>
 
 /**
  * atmel_smc_cs_conf_init - initialize a SMC CS conf
Signature · 1 line
2.14.2