[01/11] drm/i915: Constify intel_plane_funcs

Submitted by Ville Syrjala on March 5, 2018, 4:50 p.m.

Details

Message ID 20180305165109.31588-2-ville.syrjala@linux.intel.com
State Superseded
Headers show
Series "drm/i915: Some plane init cleanups" ( rev: 2 1 ) in Intel GFX

Browsing this patch as part of:
"drm/i915: Some plane init cleanups" rev 2 in Intel GFX
<< prev patch [1/11] next patch >>

Commit Message

Ville Syrjala March 5, 2018, 4:50 p.m.
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

intel_plane funcs can be cosnt. Make it so.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index fb08590b4d40..f28c0bef89d1 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -13095,7 +13095,7 @@  static bool intel_cursor_plane_format_mod_supported(struct drm_plane *plane,
 	return modifier == DRM_FORMAT_MOD_LINEAR && format == DRM_FORMAT_ARGB8888;
 }
 
-static struct drm_plane_funcs intel_plane_funcs = {
+static const struct drm_plane_funcs intel_plane_funcs = {
 	.update_plane = drm_atomic_helper_update_plane,
 	.disable_plane = drm_atomic_helper_disable_plane,
 	.destroy = intel_plane_destroy,