ieee1394: SPIN_LOCK_UNLOCKED cleanup
authorMilind Arun Choudhary <milindchoudhary@gmail.com>
Wed, 11 Apr 2007 17:54:34 +0000 (23:24 +0530)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 29 Apr 2007 22:00:30 +0000 (00:00 +0200)
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>
drivers/ieee1394/ieee1394_transactions.c

index 0272dacccd694f1050c20b2ecbd06804350ab14f..f144133df99e49e34213c8cecad1048281b5c853 100644 (file)
@@ -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);