summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cadence/Kconfig
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2012-10-27 06:10:23 +0400
committerDavid S. Miller <davem@davemloft.net>2012-10-31 22:00:15 +0400
commit0f6ae8f14e7a6a068e9a98a0d3484ffa6bf2c6bb (patch)
tree49430daad977fbb26d5f1e4de5d966dd1ea25cd8 /drivers/net/ethernet/cadence/Kconfig
parent15111025f68e0ecb6cdc56789805706b3b550912 (diff)
downloadlinux-0f6ae8f14e7a6a068e9a98a0d3484ffa6bf2c6bb.tar.xz
net/cadence: depend on HAS_IOMEM
Fixes the following build failure on S390: In file included from drivers/net/ethernet/cadence/at91_ether.c:35:0: drivers/net/ethernet/cadence/macb.h: In function 'macb_is_gem': drivers/net/ethernet/cadence/macb.h:563:2: error: implicit declaration of function '__raw_readl' [-Werror=implicit-function-declaration] drivers/net/ethernet/cadence/at91_ether.c: In function 'update_mac_address': drivers/net/ethernet/cadence/at91_ether.c:119:2: error: implicit declaration of function '__raw_writel' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Joachim Eastwood <manabian@gmail.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/Kconfig')
-rw-r--r--drivers/net/ethernet/cadence/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig
index 40172d1ca605..ceb0de0cf62c 100644
--- a/drivers/net/ethernet/cadence/Kconfig
+++ b/drivers/net/ethernet/cadence/Kconfig
@@ -4,6 +4,7 @@
config NET_CADENCE
bool "Cadence devices"
+ depends on HAS_IOMEM
default y
---help---
If you have a network (Ethernet) card belonging to this class, say Y.