Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
drm_sysfs.h File Reference

Go to the source code of this file.

Functions

int drm_class_device_register (struct device *dev)
 
void drm_class_device_unregister (struct device *dev)
 

Function Documentation

int drm_class_device_register ( struct device dev)

This minimalistic include file is intended for users (read TTM) that don't want to include the full drmP.h file.

drm_class_device_register - Register a struct device in the drm class.

: pointer to struct device to register.

should have all relevant members pre-filled with the exception of the class member. In particular, the device_type member must be set.

Definition at line 556 of file drm_sysfs.c.

void drm_class_device_unregister ( struct device dev)

Definition at line 566 of file drm_sysfs.c.