aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/swiotlb.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-12-23 14:14:54 +0100
committerChristoph Hellwig <hch@lst.de>2018-01-15 09:35:39 +0100
commit7f2c8bbd321f18e4ccfd262748bd58fb7d4bb1db (patch)
tree6b115d68c4e83f9475b0e59f71acf17ad48b4a50 /include/linux/swiotlb.h
parentx86: rename swiotlb_dma_ops (diff)
downloadlinux-dev-7f2c8bbd321f18e4ccfd262748bd58fb7d4bb1db.tar.xz
linux-dev-7f2c8bbd321f18e4ccfd262748bd58fb7d4bb1db.zip
swiotlb: rename swiotlb_free to swiotlb_exit
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/linux/swiotlb.h')
-rw-r--r--include/linux/swiotlb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h
index 24ed817082ee..606375e35d87 100644
--- a/include/linux/swiotlb.h
+++ b/include/linux/swiotlb.h
@@ -115,10 +115,10 @@ extern int
swiotlb_dma_supported(struct device *hwdev, u64 mask);
#ifdef CONFIG_SWIOTLB
-extern void __init swiotlb_free(void);
+extern void __init swiotlb_exit(void);
unsigned int swiotlb_max_segment(void);
#else
-static inline void swiotlb_free(void) { }
+static inline void swiotlb_exit(void) { }
static inline unsigned int swiotlb_max_segment(void) { return 0; }
#endif