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

2018-01-11 Thread David Miller
From: Arnd Bergmann 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 '

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

2018-01-11 Thread Ard Biesheuvel
On 11 January 2018 at 10:36, Arnd Bergmann wrote: > 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'?

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

2018-01-11 Thread Arnd Bergmann
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