mfd: syscon: atmel-smc: Include string.h
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 4 May 2018 10:34:46 +0000 (12:34 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 May 2018 08:09:29 +0000 (09:09 +0100)
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.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/atmel-smc.c

index 7d77948..0adbd2e 100644 (file)
@@ -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