diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2005-07-03 17:16:12 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2005-07-03 17:16:12 +0000 |
commit | d41af11ee30413f90064cfffb5687be92a28021c (patch) | |
tree | 2faf7181d9a653f6549ea4bb2ef2fb93aacdf9ad /linux-core/drm_stub.c | |
parent | e2ba08d28335b43515ccbefcc21052ed0d5a7e47 (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.c | 7 |
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"); |