AVR32: Spinlock initializer cleanup
[pandora-kernel.git] / arch / avr32 / mach-at32ap / clock.c
index 00c4354..0f8c89c 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "clock.h"
 
-static spinlock_t clk_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(clk_lock);
 
 struct clk *clk_get(struct device *dev, const char *id)
 {