net: calxeda xgmac ethernet driver add missing HAS_IOMEM dependency
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 27 Dec 2011 04:07:05 +0000 (04:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Dec 2011 18:01:44 +0000 (13:01 -0500)
commit65cb5df51acaa6b1070a81d6c2e0a1535d3a7b8d
tree9b0d809e22a2dc952c6e05f2080d51c3e6a09bd2
parentf905730c7ed97dc2dfcbf6af894acd6ce70a62e7
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>
drivers/net/ethernet/calxeda/Kconfig