diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-05-04 12:34:46 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-05-29 10:09:29 +0200 |
commit | cadb2b12fbdc956c1f4a00fa371404c25295fb2c (patch) | |
tree | 8dee35f41843e41376030c7c299bc92492627286 /drivers | |
parent | MAINTAINERS: Add entry for STM32 timer and lptimer drivers (diff) | |
download | linux-cadb2b12fbdc956c1f4a00fa371404c25295fb2c.tar.xz linux-cadb2b12fbdc956c1f4a00fa371404c25295fb2c.zip |
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')
-rw-r--r-- | drivers/mfd/atmel-smc.c | 1 |
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 |