diff options
author | Milind Arun Choudhary <milindchoudhary@gmail.com> | 2007-04-11 17:54:34 (GMT) |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-29 22:00:30 (GMT) |
commit | df18ce85de3deeaf311f96eb3d47e45fc7050f87 (patch) | |
tree | 18a77f4f7f1a47dfc09d866b245b00f9189662f2 /drivers | |
parent | 9be51c5d789a4864a820662460b8896b12a34c9d (diff) | |
download | linux-fsl-qoriq-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>
Diffstat (limited to 'drivers')
-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 0272dac..f144133 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); |