diff options
author | Dave Airlie <airlied@linux.ie> | 2007-11-29 09:47:24 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-11-29 09:47:24 +1000 |
commit | 32c9a109b10c087f63964b4b055603feee522cc0 (patch) | |
tree | ec645c55df4dc8b1cdf7f103d3415c4be4d6d85b /linux-core | |
parent | 4602b6687ebb0dcf5047f2c3d88dccd751558c81 (diff) |
drm: enable udev node creation
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_sysfs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/linux-core/drm_sysfs.c b/linux-core/drm_sysfs.c index caec120a..3aaac11b 100644 --- a/linux-core/drm_sysfs.c +++ b/linux-core/drm_sysfs.c @@ -162,12 +162,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); |