Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65cb5df5 authored by Heiko Carstens's avatar Heiko Carstens Committed by David S. Miller
Browse files

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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Acked-by: default avatarRob Herring <rob.herring@calxeda.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f905730c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
config NET_CALXEDA_XGMAC
config NET_CALXEDA_XGMAC
	tristate "Calxeda 1G/10G XGMAC Ethernet driver"
	tristate "Calxeda 1G/10G XGMAC Ethernet driver"

	depends on HAS_IOMEM
	select CRC32
	select CRC32
	help
	help
	  This is the driver for the XGMAC Ethernet IP block found on Calxeda
	  This is the driver for the XGMAC Ethernet IP block found on Calxeda