diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-05-09 13:04:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-12 01:28:23 +0200 |
commit | 3b76b3c37b89302db188b743f2f7b31aa666bb00 (patch) | |
tree | 8a22bb583276bf43b4bafe51da2bdf07e3fd4b66 /drivers/net/ethernet/calxeda | |
parent | ipv6: do not clear pinet6 field (diff) | |
download | linux-3b76b3c37b89302db188b743f2f7b31aa666bb00.tar.xz linux-3b76b3c37b89302db188b743f2f7b31aa666bb00.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/calxeda')
-rw-r--r-- | drivers/net/ethernet/calxeda/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/calxeda/Kconfig b/drivers/net/ethernet/calxeda/Kconfig index aba435c3d4ae..184a063bed5f 100644 --- a/drivers/net/ethernet/calxeda/Kconfig +++ b/drivers/net/ethernet/calxeda/Kconfig @@ -1,6 +1,6 @@ config NET_CALXEDA_XGMAC tristate "Calxeda 1G/10G XGMAC Ethernet driver" - depends on HAS_IOMEM + depends on HAS_IOMEM && HAS_DMA select CRC32 help This is the driver for the XGMAC Ethernet IP block found on Calxeda |