Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
77e27e9f
Commit
77e27e9f
authored
Nov 29, 2007
by
Dave Airlie
Committed by
Dave Airlie
Feb 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm: enable udev node creation
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
b018fcda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
drivers/char/drm/drm_sysfs.c
drivers/char/drm/drm_sysfs.c
+1
-6
No files found.
drivers/char/drm/drm_sysfs.c
View file @
77e27e9f
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment