]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: socionext: include linux/io.h to fix build
authorArnd Bergmann <arnd@arndb.de>
Wed, 7 Feb 2018 19:15:42 +0000 (12:15 -0700)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Feb 2018 02:58:24 +0000 (20:58 -0600)
commit7b81b7cffdd0f60a1fe7e7b423dc5fb00a666917
tree37a2bf73198a8fd0c9119b97f27633a74de0fe90
parentc9c795524f7b063bd04151d80fe13282c21d1328
net: socionext: include linux/io.h to fix build

BugLink: https://bugs.launchpad.net/bugs/1747792
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>
(cherry picked from commit d9f523723bc794e1851024958a6add303ba67b6c)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/socionext/netsec.c