Skip to content

Commit

Permalink
drm/armada: constify struct drm_encoder_helper_funcs pointer
Browse files Browse the repository at this point in the history
Not to be modified.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Jani Nikula authored and Daniel Vetter committed Apr 13, 2015
1 parent 16bb079 commit 0d4d936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/armada/armada_output.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0d4d936

Please sign in to comment.