summaryrefslogtreecommitdiffstats
path: root/arch/mips/vr41xx/common/vrc4173.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/vr41xx/common/vrc4173.c')
-rw-r--r--arch/mips/vr41xx/common/vrc4173.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/vr41xx/common/vrc4173.c b/arch/mips/vr41xx/common/vrc4173.c
index ba58764ef8e..462a9af30ee 100644
--- a/arch/mips/vr41xx/common/vrc4173.c
+++ b/arch/mips/vr41xx/common/vrc4173.c
@@ -81,8 +81,8 @@ EXPORT_SYMBOL(vrc4173_io_offset);
static int vrc4173_initialized;
static uint16_t vrc4173_cmuclkmsk;
static uint16_t vrc4173_selectreg;
-static spinlock_t vrc4173_cmu_lock;
-static spinlock_t vrc4173_giu_lock;
+static DEFINE_SPINLOCK(vrc4173_cmu_lock);
+static DEFINE_SPINLOCK(vrc4173_giu_lock);
static inline void set_cmusrst(uint16_t val)
{