diff options
author | Jani Nikula <jani.nikula@intel.com> | 2015-03-11 05:51:01 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-07 11:06:41 -0400 |
commit | 45fe734c304edc36acb9bee653f16fa6fed64351 (patch) | |
tree | 828c6dde2b245af93dc25e06f1d7a474e71c37f0 /drivers/gpu/drm/gma500/mdfld_dsi_output.c | |
parent | d584ff822b19ac788dcda7d764b567001178cfe5 (diff) |
drm/gma500: constify all struct drm_*_helper funcs pointers
They are not to be modified.
Generated using the semantic patch:
@@
@@
(
const struct drm_crtc_helper_funcs *
|
- struct drm_crtc_helper_funcs *
+ const struct drm_crtc_helper_funcs *
)
@@
@@
(
const struct drm_encoder_helper_funcs *
|
- struct drm_encoder_helper_funcs *
+ const struct drm_encoder_helper_funcs *
)
@@
@@
(
const struct drm_connector_helper_funcs *
|
- struct drm_connector_helper_funcs *
+ const struct drm_connector_helper_funcs *
)
@@
@@
(
const struct drm_plane_helper_funcs *
|
- struct drm_plane_helper_funcs *
+ const struct drm_plane_helper_funcs *
)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/gma500/mdfld_dsi_output.c')
-rw-r--r-- | drivers/gpu/drm/gma500/mdfld_dsi_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_output.c b/drivers/gpu/drm/gma500/mdfld_dsi_output.c index abf2248da61e..89f705c3a5eb 100644 --- a/drivers/gpu/drm/gma500/mdfld_dsi_output.c +++ b/drivers/gpu/drm/gma500/mdfld_dsi_output.c | |||
@@ -290,7 +290,7 @@ static int mdfld_dsi_connector_set_property(struct drm_connector *connector, | |||
290 | encoder->crtc->primary->fb)) | 290 | encoder->crtc->primary->fb)) |
291 | goto set_prop_error; | 291 | goto set_prop_error; |
292 | } else { | 292 | } else { |
293 | struct drm_encoder_helper_funcs *funcs = | 293 | const struct drm_encoder_helper_funcs *funcs = |
294 | encoder->helper_private; | 294 | encoder->helper_private; |
295 | funcs->mode_set(encoder, | 295 | funcs->mode_set(encoder, |
296 | &gma_crtc->saved_mode, | 296 | &gma_crtc->saved_mode, |