dma-mapping: add the missing ARCH_HAS_SYNC_DMA_FOR_CPU_ALL declaration

The patch adding the infrastructure failed to actually add the symbol
declaration, oops..

Fixes: faef87723a ("dma-noncoherent: add a arch_sync_dma_for_cpu_all hook")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Paul Burton <paul.burton@mips.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Christoph Hellwig 2018-09-11 11:00:49 +02:00
parent bfb0e9b490
commit 974c24c5be
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ config ARCH_HAS_SYNC_DMA_FOR_CPU
bool bool
select NEED_DMA_MAP_STATE select NEED_DMA_MAP_STATE
config ARCH_HAS_SYNC_DMA_FOR_CPU_ALL
bool
config DMA_DIRECT_OPS config DMA_DIRECT_OPS
bool bool
depends on HAS_DMA depends on HAS_DMA