mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
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>
This commit is contained in:
parent
f905730c7e
commit
65cb5df51a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user