git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
ieee1394
/
csr.c
diff --git
a/drivers/ieee1394/csr.c
b/drivers/ieee1394/csr.c
index
6bfc74d
..
1b98684
100644
(file)
--- a/
drivers/ieee1394/csr.c
+++ b/
drivers/ieee1394/csr.c
@@
-201,7
+201,7
@@
static void add_host(struct hpsb_host *host)
CSR_REGISTER_BASE + CSR_SPEED_MAP,
CSR_REGISTER_BASE + CSR_SPEED_MAP_END);
-
host->csr.lock = SPIN_LOCK_UNLOCKED
;
+
spin_lock_init(&host->csr.lock)
;
host->csr.state = 0;
host->csr.node_ids = 0;