[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20171004080122.8967-1-bigeasy@linutronix.de>
Date: Wed, 4 Oct 2017 10:01:22 +0200
From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To: Boris Brezillon <boris.brezillon@...e-electrons.com>,
Lee Jones <lee.jones@...aro.org>
Cc: linux-kernel@...r.kernel.org,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Subject: [PATCH] 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@...utronix.de>
---
drivers/mfd/atmel-smc.c | 1 +
1 file changed, 1 insertion(+)
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
--
2.14.2
Powered by blists - more mailing lists