From: Christoph Hellwig Date: Fri, 30 Aug 2019 06:40:33 +0000 (+0200) Subject: dma-mapping: remove the dma_mmap_from_dev_coherent export X-Git-Tag: v5.4-rc1~113^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a01ee42209c00e551c7cfb581be7a207a376f00;p=thirdparty%2Flinux.git dma-mapping: remove the dma_mmap_from_dev_coherent export dma_mmap_from_dev_coherent is only used by dma_map_ops instances, none of which is modular. Signed-off-by: Christoph Hellwig --- diff --git a/kernel/dma/coherent.c b/kernel/dma/coherent.c index 7271cda86a373..7cafe1affdc97 100644 --- a/kernel/dma/coherent.c +++ b/kernel/dma/coherent.c @@ -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)