drm: Enable drm drivers to add drm sysfs devices.
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 17 Aug 2009 14:28:37 +0000 (16:28 +0200)
committerDave Airlie <airlied@linux.ie>
Wed, 19 Aug 2009 06:08:51 +0000 (16:08 +1000)
commit327c225bd548bf7871f116a0baa5ebdac884e452
treea97343597d446324d37874d148e1e29c3ec7e17c
parenta0724fcf829e5afb66159ef68cb16a805ea11b42
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>
drivers/gpu/drm/drm_sysfs.c
include/drm/drm_sysfs.h [new file with mode: 0644]