drm: Constify the drm_mm API
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 16 Dec 2016 07:46:42 +0000 (07:46 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 16 Dec 2016 13:38:49 +0000 (14:38 +0100)
commit45b186f111f1623b257d183920cd4aab16a1acd5
treec01e6380f868b308cd065dca318a7adf2f8e70c2
parentad579002c8ec429930721c5bb8bd763e6c0c6286
drm: Constify the drm_mm API

Mark up the pointers as constant through the API where appropriate.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161216074718.32500-5-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_mm.c
drivers/gpu/drm/i915/i915_gem_gtt.c
include/drm/drm_mm.h