diff options
author | Jani Nikula <jani.nikula@intel.com> | 2015-04-13 11:21:42 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-13 15:00:13 +0200 |
commit | 9a436ee6c3f311f2ae604d775d7de06a49f8c9a0 (patch) | |
tree | 19d66d3938f30d7e93912b4bd74c8fadf2945687 /include/drm/drm_plane_helper.h | |
parent | 0d4d936f49d3baa5e078ea6dafebcbdd3ec4449d (diff) | |
download | linux-stable-9a436ee6c3f311f2ae604d775d7de06a49f8c9a0.tar.gz linux-stable-9a436ee6c3f311f2ae604d775d7de06a49f8c9a0.tar.bz2 linux-stable-9a436ee6c3f311f2ae604d775d7de06a49f8c9a0.zip |
drm: make crtc/encoder/connector/plane helper_private a const pointer
They're only used to store const pointers anyway. This helps to keep
Ville and the compiler happy.
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>
Diffstat (limited to 'include/drm/drm_plane_helper.h')
-rw-r--r-- | include/drm/drm_plane_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_plane_helper.h b/include/drm/drm_plane_helper.h index e48157a5a59c..96e16283afb9 100644 --- a/include/drm/drm_plane_helper.h +++ b/include/drm/drm_plane_helper.h @@ -76,7 +76,7 @@ struct drm_plane_helper_funcs { static inline void drm_plane_helper_add(struct drm_plane *plane, const struct drm_plane_helper_funcs *funcs) { - plane->helper_private = (void *)funcs; + plane->helper_private = funcs; } extern int drm_plane_helper_check_update(struct drm_plane *plane, |