Skip to content

Commit

Permalink
net: calxeda xgmac ethernet driver add missing HAS_IOMEM dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and David S. Miller committed Dec 27, 2011
1 parent f905730 commit 65cb5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/calxeda/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 65cb5df

Please sign in to comment.