blob: d454ef617b2ca9e852c37c0a3a1b9c35f08a57a9 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Thomas Hellstrom327c2252009-08-17 16:28:37 +02002#ifndef _DRM_SYSFS_H_
3#define _DRM_SYSFS_H_
4
Daniel Vettere2271702017-04-04 11:52:55 +02005struct drm_device;
6struct device;
Ramalingam C6fe2ce02019-08-01 17:11:16 +05307struct drm_connector;
8struct drm_property;
Thomas Hellstrom327c2252009-08-17 16:28:37 +02009
Daniel Vetter91faa042017-03-22 09:36:02 +010010int drm_class_device_register(struct device *dev);
11void drm_class_device_unregister(struct device *dev);
Thomas Hellstrom327c2252009-08-17 16:28:37 +020012
Daniel Vettere2271702017-04-04 11:52:55 +020013void drm_sysfs_hotplug_event(struct drm_device *dev);
Ramalingam C6fe2ce02019-08-01 17:11:16 +053014void drm_sysfs_connector_status_event(struct drm_connector *connector,
15 struct drm_property *property);
Thomas Hellstrom327c2252009-08-17 16:28:37 +020016#endif