git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AVR32: Spinlock initializer cleanup
[pandora-kernel.git]
/
arch
/
avr32
/
mach-at32ap
/
clock.c
diff --git
a/arch/avr32/mach-at32ap/clock.c
b/arch/avr32/mach-at32ap/clock.c
index
00c4354
..
0f8c89c
100644
(file)
--- a/
arch/avr32/mach-at32ap/clock.c
+++ b/
arch/avr32/mach-at32ap/clock.c
@@
-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)
{