diff options
author | Dave Airlie <airlied@linux.ie> | 2007-11-29 09:48:20 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-07 15:09:39 +1000 |
commit | 77e27e9fe5bd399c9f56b941b212a58338e94463 (patch) | |
tree | 98549d6bbbea4f1c22fdbf002ee438bb119be218 /drivers/char | |
parent | b018fcdaa5e8b4eabb8cffda687d00004a3c4785 (diff) | |
download | linux-77e27e9fe5bd399c9f56b941b212a58338e94463.tar.gz linux-77e27e9fe5bd399c9f56b941b212a58338e94463.tar.bz2 linux-77e27e9fe5bd399c9f56b941b212a58338e94463.zip |
drm: enable udev node creation
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | 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 6f8623ce045e..fa36153619e8 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); |