diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-05-04 13:34:46 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-05-29 11:09:29 +0300 |
commit | cadb2b12fbdc956c1f4a00fa371404c25295fb2c (patch) | |
tree | 8dee35f41843e41376030c7c299bc92492627286 /drivers/mfd | |
parent | 69b7516c5632121510da46ad9a02b6c57b4ce271 (diff) | |
download | linux-cadb2b12fbdc956c1f4a00fa371404c25295fb2c.tar.xz |
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.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 |