summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-06-06 10:38:35 +1000
committerDave Airlie <airlied@linux.ie>2008-06-06 10:39:58 +1000
commit25c1bb334f3a32e3e635e9d5de1abf8abdcc87f0 (patch)
tree60d8196c3c404ff6dc9eaa3f6a6d0ab0d597e163 /linux-core
parent5f94172f81120c56ba07843ff860a9e265dac1f8 (diff)
drm/intel: make hotplug just be an event
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_crtc_helper.c3
-rw-r--r--linux-core/drm_crtc_helper.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/linux-core/drm_crtc_helper.c b/linux-core/drm_crtc_helper.c
index edb739f5..777820d7 100644
--- a/linux-core/drm_crtc_helper.c
+++ b/linux-core/drm_crtc_helper.c
@@ -690,8 +690,7 @@ EXPORT_SYMBOL(drm_helper_initial_config);
* RETURNS:
* Zero on success, errno on failure.
*/
-int drm_helper_hotplug_stage_two(struct drm_device *dev, struct drm_connector *connector,
- bool connected)
+int drm_helper_hotplug_stage_two(struct drm_device *dev)
{
dev->mode_config.hotplug_counter++;
diff --git a/linux-core/drm_crtc_helper.h b/linux-core/drm_crtc_helper.h
index 7b7f23dc..45a67f98 100644
--- a/linux-core/drm_crtc_helper.h
+++ b/linux-core/drm_crtc_helper.h
@@ -65,8 +65,7 @@ struct drm_connector_helper_funcs {
extern void drm_helper_probe_single_connector_modes(struct drm_connector *connector, uint32_t maxX, uint32_t maxY);
extern void drm_helper_disable_unused_functions(struct drm_device *dev);
-extern int drm_helper_hotplug_stage_two(struct drm_device *dev, struct drm_connector *connector,
- bool connected);
+extern int drm_helper_hotplug_stage_two(struct drm_device *dev);
extern bool drm_helper_initial_config(struct drm_device *dev, bool can_grow);
extern int drm_crtc_helper_set_config(struct drm_mode_set *set);
extern bool drm_crtc_helper_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,