Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b52020e8 authored by Vijayanand Jitta's avatar Vijayanand Jitta Committed by Gerrit - the friendly Code Review server
Browse files

iommu: Fix multiple definitions of msm_dma_unmap_sg_attrs



Add static and inline to msm_dma_unmap_sg_attrs to fix multiple
definition compilation errors when CONFIG_QCOM_LAZY_MAP is not
selected.

Change-Id: I2aa56d85459e7144d279521905d0cb3225b39648
Signed-off-by: default avatarVijayanand Jitta <vjitta@codeaurora.org>
parent 3f815bfe
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -105,7 +105,8 @@ static inline void msm_dma_unmap_sg(struct device *dev,
{
}

void msm_dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sgl,
static inline void msm_dma_unmap_sg_attrs(struct device *dev,
				struct scatterlist *sgl,
				int nents, enum dma_data_direction dir,
				struct dma_buf *dma_buf, unsigned long attrs)
{