diff options
Diffstat (limited to 'lib/swiotlb.c')
-rw-r--r-- | lib/swiotlb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 785046e4c3ab..5a7d0a4a9da3 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/spinlock.h> | 24 | #include <linux/spinlock.h> |
25 | #include <linux/swiotlb.h> | ||
26 | #include <linux/string.h> | 25 | #include <linux/string.h> |
27 | #include <linux/swiotlb.h> | 26 | #include <linux/swiotlb.h> |
28 | #include <linux/pfn.h> | 27 | #include <linux/pfn.h> |
@@ -777,8 +776,6 @@ swiotlb_sync_single_range_for_device(struct device *hwdev, dma_addr_t dev_addr, | |||
777 | SYNC_FOR_DEVICE); | 776 | SYNC_FOR_DEVICE); |
778 | } | 777 | } |
779 | 778 | ||
780 | void swiotlb_unmap_sg_attrs(struct device *, struct scatterlist *, int, int, | ||
781 | struct dma_attrs *); | ||
782 | /* | 779 | /* |
783 | * Map a set of buffers described by scatterlist in streaming mode for DMA. | 780 | * Map a set of buffers described by scatterlist in streaming mode for DMA. |
784 | * This is the scatter-gather version of the above swiotlb_map_single | 781 | * This is the scatter-gather version of the above swiotlb_map_single |