Skip to content

Commit

Permalink
dma-mapping: remove the dma_mmap_from_dev_coherent export
Browse files Browse the repository at this point in the history
dma_mmap_from_dev_coherent is only used by dma_map_ops instances,
none of which is modular.

Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Christoph Hellwig committed Sep 4, 2019
1 parent 1fa0682 commit 7a01ee4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/dma/coherent.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ int dma_mmap_from_dev_coherent(struct device *dev, struct vm_area_struct *vma,

return __dma_mmap_from_coherent(mem, vma, vaddr, size, ret);
}
EXPORT_SYMBOL(dma_mmap_from_dev_coherent);

int dma_mmap_from_global_coherent(struct vm_area_struct *vma, void *vaddr,
size_t size, int *ret)
Expand Down

0 comments on commit 7a01ee4

Please sign in to comment.