From: Jani Nikula Date: Mon, 13 Apr 2015 08:26:56 +0000 (+0300) Subject: drm/i915: make drm_crtc_helper_funcs const data X-Git-Tag: Ubuntu-5.10.0-12.13~14485^2~54^2~81 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=65b38e0d87a491e25848bea3274825b594cbdb22;p=mirror_ubuntu-hirsute-kernel.git drm/i915: make drm_crtc_helper_funcs const data Because they can be. Signed-off-by: Jani Nikula Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 14709547659f..abbca0e76ccf 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -11034,7 +11034,7 @@ out_hang: return ret; } -static struct drm_crtc_helper_funcs intel_helper_funcs = { +static const struct drm_crtc_helper_funcs intel_helper_funcs = { .mode_set_base_atomic = intel_pipe_set_base_atomic, .load_lut = intel_crtc_load_lut, .atomic_begin = intel_begin_crtc_commit,