diff options
author | Milind Arun Choudhary <milindchoudhary@gmail.com> | 2007-04-19 05:35:16 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-04-27 11:20:25 -0400 |
commit | 820c229f6c82bb91c0dbfbce90f7e6eb9639c7ab (patch) | |
tree | f86265f30643e89af00641639ca722d389f163ca /arch | |
parent | a4c9bb7d22aa61ec585984f46df185669e557e3d (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/basler/excite/excite_setup.c | 2 |
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); | |||
63 | volatile void __iomem * const titan_base = (void *) (EXCITE_ADDR_TITAN); | 63 | volatile void __iomem * const titan_base = (void *) (EXCITE_ADDR_TITAN); |
64 | 64 | ||
65 | /* Protect access to shared GPI registers */ | 65 | /* Protect access to shared GPI registers */ |
66 | spinlock_t titan_lock = SPIN_LOCK_UNLOCKED; | 66 | DEFINE_SPINLOCK(titan_lock); |
67 | int titan_irqflags; | 67 | int titan_irqflags; |
68 | 68 | ||
69 | 69 | ||