net: ETHOC should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 20 Nov 2009 09:19:10 +0000 (09:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2009 21:53:33 +0000 (13:53 -0800)
commit0ebe74e7ba5929f46d5db4d735a9d7a85a38976b
treef30baa9499da26ea99223f9c0b8ab82c1b374535
parent818f33313caab9be2a10458500dbed4a88c1b334
net: ETHOC should depend on HAS_DMA

When building for Sun 3:

drivers/net/ethoc.c:1091: undefined reference to `dma_free_coherent'
drivers/built-in.o: In function `ethoc_probe':
drivers/net/ethoc.c:965: undefined reference to `dma_alloc_coherent'
drivers/net/ethoc.c:1063: undefined reference to `dma_free_coherent'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig