net/ethernet: NET_CALXEDA_XGMAC should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 9 May 2013 11:04:45 +0000 (11:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 May 2013 23:28:23 +0000 (16:28 -0700)
commit3b76b3c37b89302db188b743f2f7b31aa666bb00
tree8a22bb583276bf43b4bafe51da2bdf07e3fd4b66
parentf77d602124d865c38705df7fa25c03de9c284ad2
net/ethernet: NET_CALXEDA_XGMAC should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `xgmac_xmit':
drivers/net/ethernet/calxeda/xgmac.c:1102: undefined reference to `dma_mapping_error'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/calxeda/Kconfig