diff options
author | Milind Arun Choudhary <milindchoudhary@gmail.com> | 2007-04-11 21:54:34 +0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-30 02:00:30 +0400 |
commit | df18ce85de3deeaf311f96eb3d47e45fc7050f87 (patch) | |
tree | 18a77f4f7f1a47dfc09d866b245b00f9189662f2 | |
parent | 9be51c5d789a4864a820662460b8896b12a34c9d (diff) | |
download | linux-df18ce85de3deeaf311f96eb3d47e45fc7050f87.tar.xz |
ieee1394: SPIN_LOCK_UNLOCKED cleanup
SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK instead
Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
-rw-r--r-- | drivers/ieee1394/ieee1394_transactions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/ieee1394_transactions.c b/drivers/ieee1394/ieee1394_transactions.c index 0272dacccd69..f144133df99e 100644 --- a/drivers/ieee1394/ieee1394_transactions.c +++ b/drivers/ieee1394/ieee1394_transactions.c @@ -37,7 +37,7 @@ #ifndef HPSB_DEBUG_TLABELS static #endif -spinlock_t hpsb_tlabel_lock = SPIN_LOCK_UNLOCKED; +DEFINE_SPINLOCK(hpsb_tlabel_lock); static DECLARE_WAIT_QUEUE_HEAD(tlabel_wq); |