net: socionext: include linux/io.h to fix build
authorArnd Bergmann <arnd@arndb.de>
Thu, 11 Jan 2018 10:36:24 +0000 (11:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jan 2018 18:53:57 +0000 (13:53 -0500)
commitd9f523723bc794e1851024958a6add303ba67b6c
tree1571d209ccdc18be42a4da21e134f7962b689849
parent532b5aa0b41ae908842166be4d17fffa53590bf0
net: socionext: include linux/io.h to fix build

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@arndb.de>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/socionext/netsec.c