xref: /linux/include/drm/drm_sysfs.h (revision 69bfec7548f4c1595bac0e3ddfc0458a5af31f4c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _DRM_SYSFS_H_
3 #define _DRM_SYSFS_H_
4 
5 struct drm_device;
6 struct device;
7 struct drm_connector;
8 struct drm_property;
9 
10 int drm_class_device_register(struct device *dev);
11 void drm_class_device_unregister(struct device *dev);
12 
13 void drm_sysfs_hotplug_event(struct drm_device *dev);
14 void drm_sysfs_connector_hotplug_event(struct drm_connector *connector);
15 void drm_sysfs_connector_status_event(struct drm_connector *connector,
16 				      struct drm_property *property);
17 #endif
18