Skip to content

Commit

Permalink
dma-mapping: remove a few unused exports
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig committed Jan 4, 2019
1 parent ed6ccf1 commit 48e638f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions kernel/dma/coherent.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ int dma_alloc_from_dev_coherent(struct device *dev, ssize_t size,
*/
return mem->flags & DMA_MEMORY_EXCLUSIVE;
}
EXPORT_SYMBOL(dma_alloc_from_dev_coherent);

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

return __dma_release_from_coherent(mem, order, vaddr);
}
EXPORT_SYMBOL(dma_release_from_dev_coherent);

int dma_release_from_global_coherent(int order, void *vaddr)
{
Expand Down
2 changes: 0 additions & 2 deletions kernel/dma/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,6 @@ void debug_dma_alloc_coherent(struct device *dev, size_t size,

add_dma_entry(entry);
}
EXPORT_SYMBOL(debug_dma_alloc_coherent);

void debug_dma_free_coherent(struct device *dev, size_t size,
void *virt, dma_addr_t addr)
Expand Down Expand Up @@ -1540,7 +1539,6 @@ void debug_dma_free_coherent(struct device *dev, size_t size,

check_unmap(&ref);
}
EXPORT_SYMBOL(debug_dma_free_coherent);

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

0 comments on commit 48e638f

Please sign in to comment.