Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=77e27e9fe5bd399c9f56b941b212a58338e94463
Commit:     77e27e9fe5bd399c9f56b941b212a58338e94463
Parent:     b018fcdaa5e8b4eabb8cffda687d00004a3c4785
Author:     Dave Airlie <[EMAIL PROTECTED]>
AuthorDate: Thu Nov 29 09:48:20 2007 +1000
Committer:  Dave Airlie <[EMAIL PROTECTED]>
CommitDate: Thu Feb 7 15:09:39 2008 +1000

    drm: enable udev node creation
    
    Signed-off-by: Dave Airlie <[EMAIL PROTECTED]>
---
 drivers/char/drm/drm_sysfs.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/drivers/char/drm/drm_sysfs.c b/drivers/char/drm/drm_sysfs.c
index 6f8623c..fa36153 100644
--- a/drivers/char/drm/drm_sysfs.c
+++ b/drivers/char/drm/drm_sysfs.c
@@ -160,12 +160,7 @@ int drm_sysfs_device_add(struct drm_device *dev, struct 
drm_head *head)
        dev->dev.parent = &dev->pdev->dev;
        dev->dev.class = drm_class;
        dev->dev.release = drm_sysfs_device_release;
-       /*
-        * This will actually add the major:minor file so that udev
-        * will create the device node.  We don't want to do that just
-        * yet...
-        */
-       /* dev->dev.devt = head->device; */
+       dev->dev.devt = head->device;
        snprintf(dev->dev.bus_id, BUS_ID_SIZE, "card%d", head->minor);
 
        err = device_register(&dev->dev);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to