OSDN Git Service

drm/drm: constify all struct drm_*_helper funcs pointers
authorJani Nikula <jani.nikula@intel.com>
Wed, 11 Mar 2015 09:51:06 +0000 (11:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 7 Apr 2015 16:11:25 +0000 (18:11 +0200)
commitbe26a66de5f5722388966a62d772df832818bcb9
treed004bf6ddcb0069e3d6e5879ebe95ed3c1e37980
parent71279a11380faabf70ea2827dc168b4156a10971
drm/drm: 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: Christian König <christian.koenig@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/drm_plane_helper.c
drivers/gpu/drm/drm_probe_helper.c