Explorar o código

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 %!s(int64=18) %!d(string=hai) anos
pai
achega
df18ce85de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/ieee1394/ieee1394_transactions.c

+ 1 - 1
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);