drm: simplify sysfs code for drm
commit732052ed3e7539d87136dd833be523747af3fb3e
authorDave Airlie <airlied@starflyer.(none)>
Fri, 11 Nov 2005 11:07:35 +0000 (11 22:07 +1100)
committerDave Airlie <airlied@linux.ie>
Fri, 11 Nov 2005 11:07:35 +0000 (11 22:07 +1100)
tree7989d3062e50f3edc2a206148c6e776f88e7a2c1
parente96e33eeb8b876c7ec009c557ca5269328eceda0
drm: simplify sysfs code for drm

This simplifies the sysfs code for the drm and add a dri_library_name
attribute which can be used by a userspace app to figure out which
library to load.

From: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drmP.h
drivers/char/drm/drm_stub.c
drivers/char/drm/drm_sysfs.c
drivers/char/drm/radeon_drv.c
drivers/char/drm/radeon_drv.h
drivers/char/drm/via_drv.c