summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/dma-nommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/dma-nommu.c')
-rw-r--r--arch/sh/kernel/dma-nommu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/dma-nommu.c b/arch/sh/kernel/dma-nommu.c
index e88fceb..b336fcf 100644
--- a/arch/sh/kernel/dma-nommu.c
+++ b/arch/sh/kernel/dma-nommu.c
@@ -61,6 +61,8 @@ static void nommu_sync_sg(struct device *dev, struct scatterlist *sg,
}
struct dma_map_ops nommu_dma_ops = {
+ .alloc_coherent = dma_generic_alloc_coherent,
+ .free_coherent = dma_generic_free_coherent,
.map_page = nommu_map_page,
.map_sg = nommu_map_sg,
.sync_single_for_device = nommu_sync_single,