[MIPS] DEC: Initialise ioasic_ssr_lock
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 17 Sep 2007 15:58:18 +0000 (16:58 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 19 Sep 2007 18:33:14 +0000 (19:33 +0100)
Fix the definition of the ioasic_ssr_lock spinlock to include a proper
initialisation.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/dec/setup.c

index b8a5e75..3e634f2 100644 (file)
@@ -55,7 +55,7 @@ EXPORT_SYMBOL(dec_kn_slot_size);
 
 int dec_tc_bus;
 
-spinlock_t ioasic_ssr_lock;
+DEFINE_SPINLOCK(ioasic_ssr_lock);
 
 volatile u32 *ioasic_base;