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

Commit 00770f44 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ion: Fix ion compilation errors on Kona"

parents e77bf239 9571bb2e
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -76,6 +76,13 @@ static inline int msm_dma_map_sg_attrs(struct device *dev,
	return -EINVAL;
}

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)
{
}

static inline int msm_dma_map_sg_lazy(struct device *dev,
			       struct scatterlist *sg, int nents,
			       enum dma_data_direction dir,
@@ -91,13 +98,6 @@ static inline int msm_dma_map_sg(struct device *dev, struct scatterlist *sg,
	return -EINVAL;
}

static inline void msm_dma_unmap_sg(struct device *dev,
					struct scatterlist *sgl, int nents,
					enum dma_data_direction dir,
					struct dma_buf *dma_buf)
{
}

static inline int msm_dma_unmap_all_for_dev(struct device *dev)
{
	return 0;