ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 7 Dec 2015 09:09:06 +0000 (10:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Dec 2015 18:54:35 +0000 (13:54 -0500)
commit4675390a9e7183bf45590e84a183e22e32c485a7
treea0300f0818a21d9210542aea3057a34730c28d0d
parent326fcfa5acca446b3f71e99f6d19881145556e5c
ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA

If NO_DMA=y:

    ERROR: "dma_map_single" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_unmap_page" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_sync_single_for_cpu" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_unmap_single" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_alloc_coherent" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_mapping_error" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_map_page" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_free_coherent" [drivers/net/ethernet/aurora/nb8800.ko] undefined!

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aurora/Kconfig