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

Alexandre Belloni alexandre.belloni at bootlin.com
Fri May 4 05:16:19 PDT 2018


On 04/05/2018 12:34:46+0200, Sebastian Andrzej Siewior wrote:
> 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 at linaro.org>
> Cc: Nicolas Ferre <nicolas.ferre at microchip.com>
> Cc: Alexandre Belloni <alexandre.belloni at bootlin.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Acked-by: Alexandre Belloni <alexandre.belloni at bootlin.com>

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

-- 
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the linux-arm-kernel mailing list