projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4602b66
)
drm: enable udev node creation
author
Dave Airlie
<airlied@linux.ie>
Wed, 28 Nov 2007 23:47:24 +0000
(09:47 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Wed, 28 Nov 2007 23:47:24 +0000
(09:47 +1000)
linux-core/drm_sysfs.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_sysfs.c
b/linux-core/drm_sysfs.c
index
caec120
..
3aaac11
100644
(file)
--- 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);