summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/armada
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2015-04-13 11:21:41 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-04-13 16:00:13 +0300
commit0d4d936f49d3baa5e078ea6dafebcbdd3ec4449d (patch)
treea17b5e54f559de772543c8b504cf753e99e9955d /drivers/gpu/drm/armada
parent16bb079e45f2c3a795b6b0546535cd6466275ec5 (diff)
downloadlinux-0d4d936f49d3baa5e078ea6dafebcbdd3ec4449d.tar.xz
drm/armada: constify struct drm_encoder_helper_funcs pointer
Not to be modified. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/armada')
-rw-r--r--drivers/gpu/drm/armada/armada_output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/armada/armada_output.h b/drivers/gpu/drm/armada/armada_output.h
index 4126d43b5057..3c4023e142d0 100644
--- a/drivers/gpu/drm/armada/armada_output.h
+++ b/drivers/gpu/drm/armada/armada_output.h
@@ -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;