summaryrefslogtreecommitdiff
path: root/linux-core/drm_stub.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2005-07-03 17:16:12 +0000
committerJon Smirl <jonsmirl@yahoo.com>2005-07-03 17:16:12 +0000
commitd41af11ee30413f90064cfffb5687be92a28021c (patch)
tree2faf7181d9a653f6549ea4bb2ef2fb93aacdf9ad /linux-core/drm_stub.c
parente2ba08d28335b43515ccbefcc21052ed0d5a7e47 (diff)
Add sysfs attribute dri_library_name on Linux. code in share-core/via_drv.c
is ok to be shared, it will be passive on BSD.
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r--linux-core/drm_stub.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index 7d0e075a..25af18ba 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -166,10 +166,9 @@ static int drm_get_head(drm_device_t * dev, drm_head_t * head)
}
head->dev_class = drm_sysfs_device_add(drm_class,
- MKDEV(DRM_MAJOR,
- minor),
- DRM_PCI_DEV(dev->pdev),
- "card%d", minor);
+ head, MKDEV(DRM_MAJOR, minor),
+ DRM_PCI_DEV(dev->pdev),
+ "card%d", minor);
if (IS_ERR(head->dev_class)) {
printk(KERN_ERR
"DRM: Error sysfs_device_add.\n");