summaryrefslogtreecommitdiffstats
path: root/kernel/dma/virt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/dma/virt.c')
-rw-r--r--kernel/dma/virt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/dma/virt.c b/kernel/dma/virt.c
index ebe128833af7..6986bf1fd668 100644
--- a/kernel/dma/virt.c
+++ b/kernel/dma/virt.c
@@ -55,5 +55,7 @@ const struct dma_map_ops dma_virt_ops = {
.free = dma_virt_free,
.map_page = dma_virt_map_page,
.map_sg = dma_virt_map_sg,
+ .alloc_pages = dma_common_alloc_pages,
+ .free_pages = dma_common_free_pages,
};
EXPORT_SYMBOL(dma_virt_ops);