drm/armada: constify struct drm_encoder_helper_funcs pointer
authorJani Nikula <jani.nikula@intel.com>
Mon, 13 Apr 2015 08:21:41 +0000 (11:21 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Apr 2015 13:00:13 +0000 (15:00 +0200)
Not to be modified.

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

index 4126d43b5057a0a8b7d17a9eeb97f46b820bc63e..3c4023e142d06fab06665d07b691b50db91a1cd0 100644 (file)
@@ -9,7 +9,7 @@
 #define ARMADA_CONNETOR_H
 
 #define encoder_helper_funcs(encoder) \
-       ((struct drm_encoder_helper_funcs *)encoder->helper_private)
+       ((const struct drm_encoder_helper_funcs *)encoder->helper_private)
 
 struct armada_output_type {
        int connector_type;