From: Chen Gang Date: Thu, 2 Oct 2014 14:14:04 +0000 (+0800) Subject: drivers/net/dsa/Kconfig: Let NET_DSA_BCM_SF2 depend on HAS_IOMEM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=28b5533a6f5dca34316f90c59818a69e1c7ad6c1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig index ea0697eaeff5..9234d808cbb3 100644 --- a/drivers/net/dsa/Kconfig +++ b/drivers/net/dsa/Kconfig @@ -47,6 +47,7 @@ config NET_DSA_MV88E6171 config NET_DSA_BCM_SF2 tristate "Broadcom Starfighter 2 Ethernet switch support" + depends on HAS_IOMEM select NET_DSA select NET_DSA_TAG_BRCM select FIXED_PHY if NET_DSA_BCM_SF2=y