aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dma-debug.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/dma-debug.h b/include/linux/dma-debug.h
index ce4ace707c7b..345d5387a30d 100644
--- a/include/linux/dma-debug.h
+++ b/include/linux/dma-debug.h
@@ -20,6 +20,20 @@
20#ifndef __DMA_DEBUG_H 20#ifndef __DMA_DEBUG_H
21#define __DMA_DEBUG_H 21#define __DMA_DEBUG_H
22 22
23#include <linux/types.h>
24
23struct device; 25struct device;
24 26
27#ifdef CONFIG_DMA_API_DEBUG
28
29extern void dma_debug_init(u32 num_entries);
30
31#else /* CONFIG_DMA_API_DEBUG */
32
33static inline void dma_debug_init(u32 num_entries)
34{
35}
36
37#endif /* CONFIG_DMA_API_DEBUG */
38
25#endif /* __DMA_DEBUG_H */ 39#endif /* __DMA_DEBUG_H */