Re: [PATCH] [net-next] net: socionext: include linux/io.h to fix build

From: David Miller
Date: Thu Jan 11 2018 - 13:54:45 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Thu, 11 Jan 2018 11:36:24 +0100

> I ran into a randconfig build failure:
>
> drivers/net/ethernet/socionext/netsec.c: In function 'netsec_probe':
> drivers/net/ethernet/socionext/netsec.c:1583:17: error: implicit declaration of function 'devm_ioremap'; did you mean 'ioremap'? [-Werror=implicit-function-declaration]
>
> Including linux/io.h directly fixes this.
>
> Fixes: 533dd11a12f6 ("net: socionext: Add Synquacer NetSec driver")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied, thank you.