diff options
Diffstat (limited to 'arch/mips/kernel/genrtc.c')
-rw-r--r-- | arch/mips/kernel/genrtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/genrtc.c b/arch/mips/kernel/genrtc.c index 288bf51ad4ec..71416e7bbbaa 100644 --- a/arch/mips/kernel/genrtc.c +++ b/arch/mips/kernel/genrtc.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <asm/rtc.h> | 14 | #include <asm/rtc.h> |
15 | #include <asm/time.h> | 15 | #include <asm/time.h> |
16 | 16 | ||
17 | static spinlock_t mips_rtc_lock = SPIN_LOCK_UNLOCKED; | 17 | static DEFINE_SPINLOCK(mips_rtc_lock); |
18 | 18 | ||
19 | unsigned int get_rtc_time(struct rtc_time *time) | 19 | unsigned int get_rtc_time(struct rtc_time *time) |
20 | { | 20 | { |