-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm: Enable drm drivers to add drm sysfs devices.
Export utility functions for drivers to add specialized devices in the sysfs drm class subdirectory. Initially this will be needed form TTM to add a virtual device that handles power management. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
- Loading branch information
Thomas Hellstrom
authored and
Dave Airlie
committed
Aug 19, 2009
1 parent
a0724fc
commit 327c225
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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. | ||
*/ | ||
|
||
extern int drm_class_device_register(struct device *dev); | ||
extern void drm_class_device_unregister(struct device *dev); | ||
|
||
#endif |