summaryrefslogtreecommitdiffstats
path: root/kernel/arch/microblaze/kernel/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/microblaze/kernel/dma.c')
-rw-r--r--kernel/arch/microblaze/kernel/dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/arch/microblaze/kernel/dma.c b/kernel/arch/microblaze/kernel/dma.c
index ed7ba8a11..bf4dec229 100644
--- a/kernel/arch/microblaze/kernel/dma.c
+++ b/kernel/arch/microblaze/kernel/dma.c
@@ -154,6 +154,7 @@ dma_direct_sync_sg_for_device(struct device *dev,
__dma_sync(sg->dma_address, sg->length, direction);
}
+static
int dma_direct_mmap_coherent(struct device *dev, struct vm_area_struct *vma,
void *cpu_addr, dma_addr_t handle, size_t size,
struct dma_attrs *attrs)