Skip to content
Commit fe4e5efa authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Christoph Hellwig
Browse files

dma-mapping: provide a fallback dma_default_coherent



dma_default_coherent was decleared unconditionally at kernel/dma/mapping.c
but only decleared when any of non-coherent options is enabled in
dma-map-ops.h.

Guard the declaration in mapping.c with non-coherent options and provide
a fallback definition.

Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent b31507dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment