summaryrefslogtreecommitdiffstats
path: root/arch/mips/au1000
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-03 13:41:19 +0100
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:32:35 +0100
commit2f69ddccb01632dfe5d0ef946ee99000463cd9c4 (patch)
tree92a4e77e077718d08c6733f7abe604ca0c132042 /arch/mips/au1000
parent57468af3267bfb89391f9c607a9637e86e55d299 (diff)
downloadlinux-2f69ddccb01632dfe5d0ef946ee99000463cd9c4.tar.bz2
Convert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/au1000')
-rw-r--r--arch/mips/au1000/common/dbdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/au1000/common/dbdma.c b/arch/mips/au1000/common/dbdma.c
index 80d241b9c6f4..a5a6709637e0 100644
--- a/arch/mips/au1000/common/dbdma.c
+++ b/arch/mips/au1000/common/dbdma.c
@@ -58,7 +58,7 @@
* functions. The drivers allocate the data buffers and assign them
* to the descriptors.
*/
-static spinlock_t au1xxx_dbdma_spin_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(au1xxx_dbdma_spin_lock);
/* I couldn't find a macro that did this......
*/