xref: /linux/include/drm/drm_sysfs.h (revision bfb921b2a9d5d1123d1d10b196a39db629ddef87)
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_property_event(struct drm_connector *connector,
16 					struct drm_property *property);
17 #endif
18