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>
This commit is contained in:
parent
4de2ced795
commit
b786a8ad6a
@ -1,5 +1,6 @@
|
||||
menuconfig MOST
|
||||
tristate "MOST driver"
|
||||
depends on HAS_DMA
|
||||
select MOSTCORE
|
||||
default n
|
||||
---help---
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
config MOSTCORE
|
||||
tristate "MOST Core"
|
||||
depends on HAS_DMA
|
||||
|
||||
---help---
|
||||
Say Y here if you want to enable MOST support.
|
||||
|
Loading…
x
Reference in New Issue
Block a user