path: root/include
diff options
authorChris Wilson <chris@chris-wilson.co.uk>2016-07-13 17:39:07 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-19 10:04:54 +0200
commit6100598c4a2772bfc7a7a6518a4fea377337952b (patch)
tree5fb14177bccf74e9d9f8ec5250746546fe00d5e7 /include
parentdc96fe4f85507e0423a0f9749ac3eea45d6dbc9b (diff)
drm: Unexport drm_connector_unregister_all()
This has now been removed from all drivers as it is performed centrally as a part of device unregistration for modesetting drivers. With the last user gone, we can unexport it from the DRM module. That requires us to move the code slightly to avoid the need for a forward declaration. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1468427947-28037-2-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'include')
1 files changed, 0 insertions, 3 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 9e6ab4a0c274..6b9df1137818 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -2587,9 +2587,6 @@ static inline unsigned drm_connector_index(struct drm_connector *connector)
return connector->connector_id;
-/* helpers to {un}register all connectors from sysfs for device */
-extern void drm_connector_unregister_all(struct drm_device *dev);
extern __printf(5, 6)
int drm_encoder_init(struct drm_device *dev,
struct drm_encoder *encoder,