diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/swiotlb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h index 73b1f1cec423..59bafa690290 100644 --- a/include/linux/swiotlb.h +++ b/include/linux/swiotlb.h | |||
@@ -88,4 +88,10 @@ swiotlb_dma_mapping_error(struct device *hwdev, dma_addr_t dma_addr); | |||
88 | extern int | 88 | extern int |
89 | swiotlb_dma_supported(struct device *hwdev, u64 mask); | 89 | swiotlb_dma_supported(struct device *hwdev, u64 mask); |
90 | 90 | ||
91 | #ifdef CONFIG_SWIOTLB | ||
92 | extern void __init swiotlb_free(void); | ||
93 | #else | ||
94 | static inline void swiotlb_free(void) { } | ||
95 | #endif | ||
96 | |||
91 | #endif /* __LINUX_SWIOTLB_H */ | 97 | #endif /* __LINUX_SWIOTLB_H */ |