]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pass the dma_addr_t array as const to rotate_pages()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 Jan 2016 13:22:11 +0000 (15:22 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Jan 2016 19:04:27 +0000 (21:04 +0200)
commitddd6e2b9c322911118a87a2ba226421d3206592c
treea47a9d845da78e7d4fede365fe6b42b75ff55011
parentc9d4229887c65abf82117480a289f9d777021900
drm/i915: Pass the dma_addr_t array as const to rotate_pages()

rotate_pages() doesn't modify the passed in dma addresses, so make
them const.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1452777736-4909-4-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c