Staging: most: MOST and MOSTCORE should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 1 Sep 2015 20:05:58 +0000 (22:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 16:24:44 +0000 (09:24 -0700)
commitb786a8ad6a34b45ff6e40cf9c21f9c13c38e2f70
treea9309f4de1246371b41dc9a49df15688cd2dbc31
parent4de2ced795272db3ee5d668510b3a91a2bf1d1fb
Staging: most: MOST and MOSTCORE should depend on HAS_DMA

If NO_DMA=y:

    ERROR: "dma_free_coherent" [drivers/staging/most/mostcore/mostcore.ko] undefined!
    ERROR: "dma_alloc_coherent" [drivers/staging/most/mostcore/mostcore.ko] undefined!

As all MOST sub drivers use DMA functionality, add a dependency on
HAS_DMA to MOSTCORE, and to MOST, which selects MOSTCORE.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/Kconfig
drivers/staging/most/mostcore/Kconfig