Browse Source

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>
Milind Arun Choudhary 18 years ago
parent
commit
df18ce85de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/ieee1394/ieee1394_transactions.c

+ 1 - 1
drivers/ieee1394/ieee1394_transactions.c

@@ -37,7 +37,7 @@
 #ifndef HPSB_DEBUG_TLABELS
 #ifndef HPSB_DEBUG_TLABELS
 static
 static
 #endif
 #endif
-spinlock_t hpsb_tlabel_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(hpsb_tlabel_lock);
 
 
 static DECLARE_WAIT_QUEUE_HEAD(tlabel_wq);
 static DECLARE_WAIT_QUEUE_HEAD(tlabel_wq);