diff options
author | Jani Nikula <jani.nikula@intel.com> | 2015-04-13 11:21:41 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-13 15:00:13 +0200 |
commit | 0d4d936f49d3baa5e078ea6dafebcbdd3ec4449d (patch) | |
tree | a17b5e54f559de772543c8b504cf753e99e9955d /drivers/gpu/drm | |
parent | 16bb079e45f2c3a795b6b0546535cd6466275ec5 (diff) | |
download | linux-0d4d936f49d3baa5e078ea6dafebcbdd3ec4449d.tar.gz linux-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')
-rw-r--r-- | drivers/gpu/drm/armada/armada_output.h | 2 |
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; |