summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilind Arun Choudhary <milindchoudhary@gmail.com>2007-04-19 11:35:16 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-04-27 17:20:25 +0200
commit820c229f6c82bb91c0dbfbce90f7e6eb9639c7ab (patch)
treef86265f30643e89af00641639ca722d389f163ca
parent[MIPS] Replace old fashioned "__typeof" with "__typeof__". (diff)
downloadlinux-820c229f6c82bb91c0dbfbce90f7e6eb9639c7ab.tar.xz
linux-820c229f6c82bb91c0dbfbce90f7e6eb9639c7ab.zip
[MIPS] Use DEFINE_SPINLOCK instead of SPIN_LOCK_UNLOCKED.
Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/basler/excite/excite_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/basler/excite/excite_setup.c b/arch/mips/basler/excite/excite_setup.c
index 42f0eda1d51f..2f0e4c08eb04 100644
--- a/arch/mips/basler/excite/excite_setup.c
+++ b/arch/mips/basler/excite/excite_setup.c
@@ -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;