summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-01-23 22:28:30 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-13 12:48:48 +0100
commit00d762cbd1fb5df63bf005ffa1c8d0275f79890e (patch)
tree545d202710a20b67701c7a42c00bcb7338dfa1c6 /include/drm
parent62ff94a5492175759546f8bc61383189d6b49122 (diff)
downloadlinux-00d762cbd1fb5df63bf005ffa1c8d0275f79890e.tar.bz2
drm: drop error code for drm_helper_resume_force_mode
No driver cares, and it should generally work. Add a big comment when drivers can't use this for recompense. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_crtc_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_crtc_helper.h b/include/drm/drm_crtc_helper.h
index b6c17980cd00..0bb34ca2ad2b 100644
--- a/include/drm/drm_crtc_helper.h
+++ b/include/drm/drm_crtc_helper.h
@@ -160,7 +160,7 @@ static inline void drm_connector_helper_add(struct drm_connector *connector,
connector->helper_private = (void *)funcs;
}
-extern int drm_helper_resume_force_mode(struct drm_device *dev);
+extern void drm_helper_resume_force_mode(struct drm_device *dev);
extern void drm_kms_helper_poll_init(struct drm_device *dev);
extern void drm_kms_helper_poll_fini(struct drm_device *dev);
extern bool drm_helper_hpd_irq_event(struct drm_device *dev);