From 8ea05ecf51e999c6bdb83144a1d8fbd0cceb7760 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 1 May 2018 14:58:58 +1000 Subject: [PATCH 17/18] Export symbol swiotlb_map_sg_attrs for 3rd party driver support. --- lib/swiotlb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/swiotlb.c b/lib/swiotlb.c index c43ec2271469..77d699f14af7 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -1016,6 +1016,7 @@ swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, } return nelems; } +EXPORT_SYMBOL(swiotlb_map_sg_attrs); /* * Unmap a set of streaming mode DMA translations. Again, cpu read rules -- 2.14.1