diff options
Diffstat (limited to 'include/linux/dma-debug.h')
-rw-r--r-- | include/linux/dma-debug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/dma-debug.h b/include/linux/dma-debug.h index 4985c6c5237..46a11c10da0 100644 --- a/include/linux/dma-debug.h +++ b/include/linux/dma-debug.h | |||
@@ -76,6 +76,8 @@ extern void debug_dma_sync_sg_for_device(struct device *dev, | |||
76 | struct scatterlist *sg, | 76 | struct scatterlist *sg, |
77 | int nelems, int direction); | 77 | int nelems, int direction); |
78 | 78 | ||
79 | extern void debug_dma_dump_mappings(struct device *dev); | ||
80 | |||
79 | #else /* CONFIG_DMA_API_DEBUG */ | 81 | #else /* CONFIG_DMA_API_DEBUG */ |
80 | 82 | ||
81 | static inline void dma_debug_init(u32 num_entries) | 83 | static inline void dma_debug_init(u32 num_entries) |
@@ -156,6 +158,10 @@ static inline void debug_dma_sync_sg_for_device(struct device *dev, | |||
156 | { | 158 | { |
157 | } | 159 | } |
158 | 160 | ||
161 | static inline void debug_dma_dump_mappings(struct device *dev) | ||
162 | { | ||
163 | } | ||
164 | |||
159 | #endif /* CONFIG_DMA_API_DEBUG */ | 165 | #endif /* CONFIG_DMA_API_DEBUG */ |
160 | 166 | ||
161 | #endif /* __DMA_DEBUG_H */ | 167 | #endif /* __DMA_DEBUG_H */ |