Commit 820c229f authored by Milind Arun Choudhary's avatar Milind Arun Choudhary Committed by Ralf Baechle

[MIPS] Use DEFINE_SPINLOCK instead of SPIN_LOCK_UNLOCKED.

Signed-off-by: default avatarMilind Arun Choudhary <milindchoudhary@gmail.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent a4c9bb7d
...@@ -63,7 +63,7 @@ volatile void __iomem * const ocd_base = (void *) (EXCITE_ADDR_OCD); ...@@ -63,7 +63,7 @@ volatile void __iomem * const ocd_base = (void *) (EXCITE_ADDR_OCD);
volatile void __iomem * const titan_base = (void *) (EXCITE_ADDR_TITAN); volatile void __iomem * const titan_base = (void *) (EXCITE_ADDR_TITAN);
/* Protect access to shared GPI registers */ /* Protect access to shared GPI registers */
spinlock_t titan_lock = SPIN_LOCK_UNLOCKED; DEFINE_SPINLOCK(titan_lock);
int titan_irqflags; int titan_irqflags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment