[PATCH REPOST] mfd: syscon: atmel-smc: include string.h

From: Sebastian Andrzej Siewior
Date: Fri May 04 2018 - 06:35:26 EST


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.

Cc: Lee Jones <lee.jones@xxxxxxxxxx>
Cc: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>
Cc: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
---
drivers/mfd/atmel-smc.c | 1 +
1 file changed, 1 insertion(+)

--- 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