projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a19b7
)
ieee1394: ieee1394_core.c: use DEFINE_SPINLOCK for spinlock definition
author
Matthias Kaehlcke
<
[email protected]
>
Fri, 12 Oct 2007 17:57:23 +0000
(19:57 +0200)
committer
Stefan Richter
<
[email protected]
>
Tue, 16 Oct 2007 21:59:59 +0000
(23:59 +0200)
drivers/ieee1394/ieee1394_core.c: Define spinlock using
DEFINE_SPINLOCK instead of assignment to SPIN_LOCK_UNLOCKED
Signed-off-by: Matthias Kaehlcke <
[email protected]
>
Signed-off-by: Stefan Richter <
[email protected]
>
drivers/ieee1394/ieee1394_core.c
patch
|
blob
|
history
diff --git
a/drivers/ieee1394/ieee1394_core.c
b/drivers/ieee1394/ieee1394_core.c
index 98fd985a32ffb003affce760342a42a0d54709e6..36c747b277d0a2b66ab26b89da98a371ad549142 100644
(file)
--- a/
drivers/ieee1394/ieee1394_core.c
+++ b/
drivers/ieee1394/ieee1394_core.c
@@
-488,7
+488,7
@@
void hpsb_selfid_complete(struct hpsb_host *host, int phyid, int isroot)
highlevel_host_reset(host);
}
-static
spinlock_t pending_packets_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(pending_packets_lock)
;
/**
* hpsb_packet_sent - notify core of sending a packet