]> err.no Git - linux-2.6/commitdiff
[MIPS] Use DEFINE_SPINLOCK instead of SPIN_LOCK_UNLOCKED.
authorMilind Arun Choudhary <milindchoudhary@gmail.com>
Thu, 19 Apr 2007 09:35:16 +0000 (15:05 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 27 Apr 2007 15:20:25 +0000 (16:20 +0100)
Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/basler/excite/excite_setup.c

index 42f0eda1d51f1994ff163ae5dca8030f3cf8daf8..2f0e4c08eb04ce283240d795385985d37242ad98 100644 (file)
@@ -63,7 +63,7 @@ volatile void __iomem * const ocd_base = (void *) (EXCITE_ADDR_OCD);
 volatile void __iomem * const titan_base = (void *) (EXCITE_ADDR_TITAN);
 
 /* Protect access to shared GPI registers */
-spinlock_t titan_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(titan_lock);
 int titan_irqflags;