Commit b786a8ad authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4de2ced7
menuconfig MOST menuconfig MOST
tristate "MOST driver" tristate "MOST driver"
depends on HAS_DMA
select MOSTCORE select MOSTCORE
default n default n
---help--- ---help---
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
config MOSTCORE config MOSTCORE
tristate "MOST Core" tristate "MOST Core"
depends on HAS_DMA
---help--- ---help---
Say Y here if you want to enable MOST support. Say Y here if you want to enable MOST support.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment