drivers/net/dsa/Kconfig: Let NET_DSA_BCM_SF2 depend on HAS_IOMEM
authorChen Gang <gang.chen.5i5j@gmail.com>
Thu, 2 Oct 2014 14:14:04 +0000 (22:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Oct 2014 22:52:04 +0000 (15:52 -0700)
commit28b5533a6f5dca34316f90c59818a69e1c7ad6c1
tree75e2f8d72910ba3aa3154c733e9c8e53fb5b2718
parent9dc8be2816929b13f64e1d3c00d6101939d03df3
drivers/net/dsa/Kconfig: Let NET_DSA_BCM_SF2 depend on HAS_IOMEM

NET_DSA_BCM_SF2 need HAS_IOMEM, so depend on it, the related error (with
allmodconfig under um):

    CC [M]  drivers/net/dsa/bcm_sf2.o
  drivers/net/dsa/bcm_sf2.c: In function ‘bcm_sf2_sw_setup’:
  drivers/net/dsa/bcm_sf2.c:487:3: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
     iounmap(*base);
     ^

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/Kconfig