Merge branch 'sg' of git://git.kernel.dk/linux-2.6-block
[pandora-kernel.git] / drivers / ieee1394 / ieee1394_core.c
index 98fd985..36c747b 100644 (file)
@@ -488,7 +488,7 @@ void hpsb_selfid_complete(struct hpsb_host *host, int phyid, int isroot)
        highlevel_host_reset(host);
 }
 
-static spinlock_t pending_packets_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(pending_packets_lock);
 
 /**
  * hpsb_packet_sent - notify core of sending a packet