Skip to content

Commit 48e638f

Browse files
author
Christoph Hellwig
committed
dma-mapping: remove a few unused exports
Now that the slow path DMA API calls are implemented out of line a few helpers only used by them don't need to be exported anymore. Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent ed6ccf1 commit 48e638f

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

‎kernel/dma/coherent.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ int dma_alloc_from_dev_coherent(struct device *dev, ssize_t size,
223223
*/
224224
return mem->flags & DMA_MEMORY_EXCLUSIVE;
225225
}
226-
EXPORT_SYMBOL(dma_alloc_from_dev_coherent);
227226

228227
void *dma_alloc_from_global_coherent(ssize_t size, dma_addr_t *dma_handle)
229228
{
@@ -268,7 +267,6 @@ int dma_release_from_dev_coherent(struct device *dev, int order, void *vaddr)
268267

269268
return __dma_release_from_coherent(mem, order, vaddr);
270269
}
271-
EXPORT_SYMBOL(dma_release_from_dev_coherent);
272270

273271
int dma_release_from_global_coherent(int order, void *vaddr)
274272
{

‎kernel/dma/debug.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,6 @@ void debug_dma_alloc_coherent(struct device *dev, size_t size,
15121512

15131513
add_dma_entry(entry);
15141514
}
1515-
EXPORT_SYMBOL(debug_dma_alloc_coherent);
15161515

15171516
void debug_dma_free_coherent(struct device *dev, size_t size,
15181517
void *virt, dma_addr_t addr)
@@ -1540,7 +1539,6 @@ void debug_dma_free_coherent(struct device *dev, size_t size,
15401539

15411540
check_unmap(&ref);
15421541
}
1543-
EXPORT_SYMBOL(debug_dma_free_coherent);
15441542

15451543
void debug_dma_map_resource(struct device *dev, phys_addr_t addr, size_t size,
15461544
int direction, dma_addr_t dma_addr)

0 commit comments

Comments
 (0)