From: Dave Airlie Date: Wed, 28 Nov 2007 23:48:20 +0000 (+1000) Subject: drm: enable udev node creation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=77e27e9fe5bd399c9f56b941b212a58338e94463;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm: enable udev node creation Signed-off-by: Dave Airlie --- 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);