summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2011-12-27 05:07:05 +0100
committerDavid S. Miller <davem@davemloft.net>2011-12-27 19:01:44 +0100
commit65cb5df51acaa6b1070a81d6c2e0a1535d3a7b8d (patch)
tree9b0d809e22a2dc952c6e05f2080d51c3e6a09bd2 /drivers
parenttipc: Allow use of buf_seqno() helper routine by unicast links (diff)
downloadlinux-65cb5df51acaa6b1070a81d6c2e0a1535d3a7b8d.tar.xz
linux-65cb5df51acaa6b1070a81d6c2e0a1535d3a7b8d.zip
net: calxeda xgmac ethernet driver add missing HAS_IOMEM dependency
Fix allyesconfig build on architectures without IOMEM: drivers/net/ethernet/calxeda/xgmac.c:1800:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration] Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Rob Herring <rob.herring@calxeda.com> Acked-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/calxeda/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/calxeda/Kconfig b/drivers/net/ethernet/calxeda/Kconfig
index a52e725c861c..aba435c3d4ae 100644
--- a/drivers/net/ethernet/calxeda/Kconfig
+++ b/drivers/net/ethernet/calxeda/Kconfig
@@ -1,6 +1,6 @@
config NET_CALXEDA_XGMAC
tristate "Calxeda 1G/10G XGMAC Ethernet driver"
-
+ depends on HAS_IOMEM
select CRC32
help
This is the driver for the XGMAC Ethernet IP block found on Calxeda