Re: [PATCH 1/3] sh_eth: SH_ETH should depend on HAS_DMA

From: David Miller
Date: Wed Jul 10 2013 - 22:47:36 EST


From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Wed, 10 Jul 2013 23:03:34 +0200

> If NO_DMA=y:
>
> drivers/built-in.o: In function `sh_eth_free_dma_buffer':
> drivers/net/ethernet/renesas/sh_eth.c:1103: undefined reference to `dma_free_coherent'
> drivers/net/ethernet/renesas/sh_eth.c:1110: undefined reference to `dma_free_coherent'
> drivers/built-in.o: In function `sh_eth_ring_init':
> drivers/net/ethernet/renesas/sh_eth.c:1065: undefined reference to `dma_alloc_coherent'
> drivers/net/ethernet/renesas/sh_eth.c:1086: undefined reference to `dma_free_coherent'
> drivers/built-in.o: In function `sh_eth_ring_format':
> drivers/net/ethernet/renesas/sh_eth.c:988: undefined reference to `dma_map_single'
> drivers/built-in.o: In function `sh_eth_txfree':
> drivers/net/ethernet/renesas/sh_eth.c:1220: undefined reference to `dma_unmap_single'
> drivers/built-in.o: In function `sh_eth_rx':
> drivers/net/ethernet/renesas/sh_eth.c:1323: undefined reference to `dma_map_single'
> drivers/built-in.o: In function `sh_eth_start_xmit':
> drivers/net/ethernet/renesas/sh_eth.c:1954: undefined reference to `dma_map_single'
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Applied, thanks Geert.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/