diff --git a/include/linux/msm_dma_iommu_mapping.h b/include/linux/msm_dma_iommu_mapping.h index a30a19682dd5..ae20f0990a98 100644 --- a/include/linux/msm_dma_iommu_mapping.h +++ b/include/linux/msm_dma_iommu_mapping.h @@ -105,9 +105,10 @@ static inline void msm_dma_unmap_sg(struct device *dev, { } -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) +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) { }