aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_sysfs.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-04-04 11:52:55 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-04-04 20:47:54 +0200
commite22717046a7da3cd0c0b0eec323e1dc38c777a42 (patch)
tree17ecfd3a2da47b87d070e64c66500101821be8ad /include/drm/drm_sysfs.h
parentdrm: update todo.rst (diff)
downloadlinux-dev-e22717046a7da3cd0c0b0eec323e1dc38c777a42.tar.xz
linux-dev-e22717046a7da3cd0c0b0eec323e1dc38c777a42.zip
drm: Consolidate and document sysfs support
- remove docs for internal func, doesn't add value - add short overview snippet instead explaining that drivers don't have to bother themselves with reg/unreg concerns - drop the ttm comment about drmP.h, drmP.h is disappearing ... Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170404095304.17599-2-daniel.vetter@ffwll.ch
Diffstat (limited to '')
-rw-r--r--include/drm/drm_sysfs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/drm/drm_sysfs.h b/include/drm/drm_sysfs.h
index 23418c1f10d1..70c9a1074aca 100644
--- a/include/drm/drm_sysfs.h
+++ b/include/drm/drm_sysfs.h
@@ -1,12 +1,12 @@
#ifndef _DRM_SYSFS_H_
#define _DRM_SYSFS_H_
-/**
- * This minimalistic include file is intended for users (read TTM) that
- * don't want to include the full drmP.h file.
- */
+struct drm_device;
+struct device;
int drm_class_device_register(struct device *dev);
void drm_class_device_unregister(struct device *dev);
+void drm_sysfs_hotplug_event(struct drm_device *dev);
+
#endif