diff options
author | 2007-04-11 23:24:34 +0530 | |
---|---|---|
committer | 2007-04-30 00:00:30 +0200 | |
commit | df18ce85de3deeaf311f96eb3d47e45fc7050f87 (patch) | |
tree | 18a77f4f7f1a47dfc09d866b245b00f9189662f2 /drivers/ieee1394 | |
parent | ieee1394: nodemgr: unify some error messages (diff) | |
download | linux-df18ce85de3deeaf311f96eb3d47e45fc7050f87.tar.gz linux-df18ce85de3deeaf311f96eb3d47e45fc7050f87.tar.bz2 linux-df18ce85de3deeaf311f96eb3d47e45fc7050f87.zip |
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>
Diffstat (limited to 'drivers/ieee1394')
-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); |