public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH REPOST] mfd: syscon: atmel-smc: include string.h
@ 2018-05-04 10:34 Sebastian Andrzej Siewior
  2018-05-04 12:16 ` Alexandre Belloni
  2018-05-18 13:27 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2018-05-04 10:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: tglx, Sebastian Andrzej Siewior, Lee Jones, Nicolas Ferre,
	Alexandre Belloni, linux-arm-kernel

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@linaro.org>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-18 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-04 10:34 [PATCH REPOST] mfd: syscon: atmel-smc: include string.h Sebastian Andrzej Siewior
2018-05-04 12:16 ` Alexandre Belloni
2018-05-18 13:27 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox