summaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-24 03:37:18 -0400
committerChristoph Hellwig <hch@lst.de>2018-05-08 07:03:21 -0400
commit9f22bbbdd8e31a38872855b4ff402d76efb4c621 (patch)
treea28f1f8cedec737616170a5b0c3311d3a35da306 /lib/dma-debug.c
parentbcebe324cb44f0298f6bb5fcb5eb92a3ec55feeb (diff)
dma-debug: unexport dma_debug_resize_entries and debug_dma_dump_mappings
Only used by the AMD GART and Intel VT-D drivers, which must be built in. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'lib/dma-debug.c')
-rw-r--r--lib/dma-debug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/dma-debug.c b/lib/dma-debug.c
index 075253cb613b..6a1ebaa83623 100644
--- a/lib/dma-debug.c
+++ b/lib/dma-debug.c
@@ -444,7 +444,6 @@ void debug_dma_dump_mappings(struct device *dev)
444 spin_unlock_irqrestore(&bucket->lock, flags); 444 spin_unlock_irqrestore(&bucket->lock, flags);
445 } 445 }
446} 446}
447EXPORT_SYMBOL(debug_dma_dump_mappings);
448 447
449/* 448/*
450 * For each mapping (initial cacheline in the case of 449 * For each mapping (initial cacheline in the case of
@@ -753,7 +752,6 @@ int dma_debug_resize_entries(u32 num_entries)
753 752
754 return ret; 753 return ret;
755} 754}
756EXPORT_SYMBOL(dma_debug_resize_entries);
757 755
758/* 756/*
759 * DMA-API debugging init code 757 * DMA-API debugging init code