dma-debug: unexport dma_debug_resize_entries and debug_dma_dump_mappings
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Apr 2018 07:37:18 +0000 (09:37 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 8 May 2018 11:03:21 +0000 (13:03 +0200)
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>
lib/dma-debug.c

index 075253cb613b15f1f842702c9208cc7dc67cf9d1..6a1ebaa8362391c4ac0084f7b3fdedbae3981806 100644 (file)
@@ -444,7 +444,6 @@ void debug_dma_dump_mappings(struct device *dev)
                spin_unlock_irqrestore(&bucket->lock, flags);
        }
 }
-EXPORT_SYMBOL(debug_dma_dump_mappings);
 
 /*
  * For each mapping (initial cacheline in the case of
@@ -753,7 +752,6 @@ int dma_debug_resize_entries(u32 num_entries)
 
        return ret;
 }
-EXPORT_SYMBOL(dma_debug_resize_entries);
 
 /*
  * DMA-API debugging init code