aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dma-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dma-debug.h')
-rw-r--r--include/linux/dma-debug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/dma-debug.h b/include/linux/dma-debug.h
index 46a11c10da04..e851d23e91eb 100644
--- a/include/linux/dma-debug.h
+++ b/include/linux/dma-debug.h
@@ -24,9 +24,12 @@
24 24
25struct device; 25struct device;
26struct scatterlist; 26struct scatterlist;
27struct bus_type;
27 28
28#ifdef CONFIG_DMA_API_DEBUG 29#ifdef CONFIG_DMA_API_DEBUG
29 30
31extern void dma_debug_add_bus(struct bus_type *bus);
32
30extern void dma_debug_init(u32 num_entries); 33extern void dma_debug_init(u32 num_entries);
31 34
32extern void debug_dma_map_page(struct device *dev, struct page *page, 35extern void debug_dma_map_page(struct device *dev, struct page *page,
@@ -80,6 +83,10 @@ extern void debug_dma_dump_mappings(struct device *dev);
80 83
81#else /* CONFIG_DMA_API_DEBUG */ 84#else /* CONFIG_DMA_API_DEBUG */
82 85
86void dma_debug_add_bus(struct bus_type *bus)
87{
88}
89
83static inline void dma_debug_init(u32 num_entries) 90static inline void dma_debug_init(u32 num_entries)
84{ 91{
85} 92}