drm: Constify drm_mode_config atomic helper private pointer
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 2 Jan 2017 09:16:13 +0000 (11:16 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 12 Feb 2017 11:05:23 +0000 (12:05 +0100)
commita4b10ccead4de0cf46bffb32fcb9e134b202676b
tree4d21dd1c87e9efc1f2492718cec8c49271ba2bba
parente5b8afbe34545f259fb4d15ccca34428f1c39792
drm: Constify drm_mode_config atomic helper private pointer

The drm_mode_config helper private field points to a structure of
function pointers that don't need to be modified at runtime. Make it
const.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Acked-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170102091613.6310-1-laurent.pinchart@ideasonboard.com
drivers/gpu/drm/arm/malidp_drv.c
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/imx/imx-drm-core.c
drivers/gpu/drm/rockchip/rockchip_drm_fb.c
drivers/gpu/drm/virtio/virtgpu_display.c
include/drm/drm_mode_config.h