git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NET]: SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net
[safe/jmp/linux-2.6]
/
net
/
atm
/
mpc.c
diff --git
a/net/atm/mpc.c
b/net/atm/mpc.c
index
813e08d
..
7c85aa5
100644
(file)
--- a/
net/atm/mpc.c
+++ b/
net/atm/mpc.c
@@
-737,7
+737,7
@@
static struct atm_dev mpc_dev = {
.ops = &mpc_ops,
.type = "mpc",
.number = 42,
- .lock =
SPIN_LOCK_UNLOCKED
+ .lock =
__SPIN_LOCK_UNLOCKED(mpc_dev.lock)
/* members not explicitly initialised will be 0 */
};