diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-10-02 10:14:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-03 18:52:04 -0400 |
commit | 28b5533a6f5dca34316f90c59818a69e1c7ad6c1 (patch) | |
tree | 75e2f8d72910ba3aa3154c733e9c8e53fb5b2718 /drivers/net/dsa | |
parent | 9dc8be2816929b13f64e1d3c00d6101939d03df3 (diff) |
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>
Diffstat (limited to 'drivers/net/dsa')
-rw-r--r-- | drivers/net/dsa/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
47 | 47 | ||
48 | config NET_DSA_BCM_SF2 | 48 | config NET_DSA_BCM_SF2 |
49 | tristate "Broadcom Starfighter 2 Ethernet switch support" | 49 | tristate "Broadcom Starfighter 2 Ethernet switch support" |
50 | depends on HAS_IOMEM | ||
50 | select NET_DSA | 51 | select NET_DSA |
51 | select NET_DSA_TAG_BRCM | 52 | select NET_DSA_TAG_BRCM |
52 | select FIXED_PHY if NET_DSA_BCM_SF2=y | 53 | select FIXED_PHY if NET_DSA_BCM_SF2=y |