summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-05-04 12:34:46 +0200
committerLee Jones <lee.jones@linaro.org>2018-05-29 09:09:29 +0100
commitcadb2b12fbdc956c1f4a00fa371404c25295fb2c (patch)
tree8dee35f41843e41376030c7c299bc92492627286 /drivers/mfd
parent69b7516c5632121510da46ad9a02b6c57b4ce271 (diff)
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. 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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/atmel-smc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/atmel-smc.c b/drivers/mfd/atmel-smc.c
index 7d77948567d7..0adbd2e796fe 100644
--- a/drivers/mfd/atmel-smc.c
+++ b/drivers/mfd/atmel-smc.c
@@ -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