aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-05-03 00:06:04 +0000
committerDave Airlie <airlied@linux.ie>2004-05-03 00:06:04 +0000
commit0b481856dd30fce905759e470b0abff4e186782e (patch)
tree9b0bc013577da93a0c064546a9b842c227648e56
parenta9d2438999b79419772a00d0deb1caab30334765 (diff)
use drm.. not dri for class...
-rw-r--r--linux-core/drm_stub.c2
-rw-r--r--linux/drm_stub.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index 7694de14..96fd7275 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -182,7 +182,7 @@ int DRM(stub_register)(const char *name, struct file_operations *fops,
DRM(stub_info).drm_class = i->drm_class;
DRM_DEBUG("already registered\n");
} else if (DRM(stub_info).drm_class == NULL) {
- DRM(stub_info).drm_class = class_simple_create(THIS_MODULE, "dri");
+ DRM(stub_info).drm_class = class_simple_create(THIS_MODULE, "drm");
if (IS_ERR(DRM(stub_info).drm_class)) {
printk (KERN_ERR "Error creating drm class.\n");
unregister_chrdev(DRM_MAJOR, "drm");
diff --git a/linux/drm_stub.h b/linux/drm_stub.h
index 7694de14..96fd7275 100644
--- a/linux/drm_stub.h
+++ b/linux/drm_stub.h
@@ -182,7 +182,7 @@ int DRM(stub_register)(const char *name, struct file_operations *fops,
DRM(stub_info).drm_class = i->drm_class;
DRM_DEBUG("already registered\n");
} else if (DRM(stub_info).drm_class == NULL) {
- DRM(stub_info).drm_class = class_simple_create(THIS_MODULE, "dri");
+ DRM(stub_info).drm_class = class_simple_create(THIS_MODULE, "drm");
if (IS_ERR(DRM(stub_info).drm_class)) {
printk (KERN_ERR "Error creating drm class.\n");
unregister_chrdev(DRM_MAJOR, "drm");