[PATCH] spin/rwlock init cleanups
[deliverable/linux.git] / drivers / rtc / rtc-vr41xx.c
index 33e029207e261cd2ce20f0bcb75375fa8380a768..4b9291dd444354ab1f2f374c26d2d0069266b800 100644 (file)
@@ -93,7 +93,7 @@ static void __iomem *rtc2_base;
 
 static unsigned long epoch = 1970;     /* Jan 1 1970 00:00:00 */
 
-static spinlock_t rtc_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(rtc_lock);
 static char rtc_name[] = "RTC";
 static unsigned long periodic_frequency;
 static unsigned long periodic_count;
This page took 0.025734 seconds and 5 git commands to generate.