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

Commit 2d7f3bdb authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915: Pass the dma_addr_t array as const to rotate_pages()

parent b5e16987
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3331,7 +3331,7 @@ i915_gem_obj_lookup_or_create_ggtt_vma(struct drm_i915_gem_object *obj,
}
}


static struct scatterlist *
static struct scatterlist *
rotate_pages(dma_addr_t *in, unsigned int offset,
rotate_pages(const dma_addr_t *in, unsigned int offset,
	     unsigned int width, unsigned int height,
	     unsigned int width, unsigned int height,
	     struct sg_table *st, struct scatterlist *sg)
	     struct sg_table *st, struct scatterlist *sg)
{
{