Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
56fd2e11
Commit
56fd2e11
authored
Aug 26, 2002
by
Patrick Mochel
Browse files
Options
Browse Files
Download
Plain Diff
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-cls
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-input
parents
ab910003
5eda515d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/base/class.c
drivers/base/class.c
+1
-1
No files found.
drivers/base/class.c
View file @
56fd2e11
...
@@ -40,7 +40,7 @@ static void enum_device(struct device_class * cls, struct device * dev)
...
@@ -40,7 +40,7 @@ static void enum_device(struct device_class * cls, struct device * dev)
u32
val
;
u32
val
;
spin_lock
(
&
device_lock
);
spin_lock
(
&
device_lock
);
val
=
cls
->
devnum
++
;
val
=
cls
->
devnum
++
;
write
_unlock
(
&
device_lock
);
spin
_unlock
(
&
device_lock
);
dev
->
class_num
=
val
;
dev
->
class_num
=
val
;
devclass_dev_link
(
cls
,
dev
);
devclass_dev_link
(
cls
,
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