diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-10-03 08:41:19 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:35 -0400 |
commit | 2f69ddccb01632dfe5d0ef946ee99000463cd9c4 (patch) | |
tree | 92a4e77e077718d08c6733f7abe604ca0c132042 /arch/mips/vr41xx/common/cmu.c | |
parent | 57468af3267bfb89391f9c607a9637e86e55d299 (diff) |
Convert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/vr41xx/common/cmu.c')
-rw-r--r-- | arch/mips/vr41xx/common/cmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/vr41xx/common/cmu.c b/arch/mips/vr41xx/common/cmu.c index fcd3cb8cdd9d..d758e432961b 100644 --- a/arch/mips/vr41xx/common/cmu.c +++ b/arch/mips/vr41xx/common/cmu.c | |||
@@ -69,7 +69,7 @@ | |||
69 | 69 | ||
70 | static void __iomem *cmu_base; | 70 | static void __iomem *cmu_base; |
71 | static uint16_t cmuclkmsk, cmuclkmsk2; | 71 | static uint16_t cmuclkmsk, cmuclkmsk2; |
72 | static spinlock_t cmu_lock; | 72 | static DEFINE_SPINLOCK(cmu_lock); |
73 | 73 | ||
74 | #define cmu_read(offset) readw(cmu_base + (offset)) | 74 | #define cmu_read(offset) readw(cmu_base + (offset)) |
75 | #define cmu_write(offset, value) writew((value), cmu_base + (offset)) | 75 | #define cmu_write(offset, value) writew((value), cmu_base + (offset)) |