OSDN Git Service

drm/i915: make drm_crtc_helper_funcs const data
authorJani Nikula <jani.nikula@intel.com>
Mon, 13 Apr 2015 08:26:56 +0000 (11:26 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 11:03:28 +0000 (13:03 +0200)
Because they can be.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 1470954..abbca0e 100644 (file)
@@ -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,