aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2014-10-02 10:23:33 -0400
committerDavid S. Miller <davem@davemloft.net>2014-10-03 18:52:04 -0400
commit65cb29a4f3c7b1c6c61179de870ab568e2129f7e (patch)
tree882c9982fced53ca0172be6550c91ce8672b23e6 /drivers/net/ethernet/marvell
parent28b5533a6f5dca34316f90c59818a69e1c7ad6c1 (diff)
drivers/net/ethernet/marvell/Kconfig: Let PXA168_ETH depend on HAS_IOMEM
PXA168_ETH need HAS_IOMEM, so depend on it, the related error (with allmodconfig under um): CC [M] drivers/net/ethernet/marvell/pxa168_eth.o drivers/net/ethernet/marvell/pxa168_eth.c: In function ‘pxa168_eth_probe’: drivers/net/ethernet/marvell/pxa168_eth.c:1605:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] iounmap(pep->base); ^ Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell')
-rw-r--r--drivers/net/ethernet/marvell/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig
index bed8fbb3edc5..b3b72ad92d4a 100644
--- a/drivers/net/ethernet/marvell/Kconfig
+++ b/drivers/net/ethernet/marvell/Kconfig
@@ -64,7 +64,7 @@ config MVPP2
64 64
65config PXA168_ETH 65config PXA168_ETH
66 tristate "Marvell pxa168 ethernet support" 66 tristate "Marvell pxa168 ethernet support"
67 depends on CPU_PXA168 || ARCH_BERLIN || COMPILE_TEST 67 depends on (CPU_PXA168 || ARCH_BERLIN || COMPILE_TEST) && HAS_IOMEM
68 select PHYLIB 68 select PHYLIB
69 ---help--- 69 ---help---
70 This driver supports the pxa168 Ethernet ports. 70 This driver supports the pxa168 Ethernet ports.