mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 14:30:50 +00:00 
			
		
		
		
	 327c225bd5
			
		
	
	
		327c225bd5
		
	
	
	
	
		
			
			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>
		
			
				
	
	
		
			13 lines
		
	
	
		
			300 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			300 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #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
 |