提交 e89b064a 编写于 作者: T Thomas Gleixner 提交者: Haavard Skinnemoen

AVR32: Spinlock initializer cleanup

Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
上级 c19aa754
......@@ -123,7 +123,7 @@ asmlinkage void do_address_exception(unsigned long ecr, struct pt_regs *regs)
/* This way of handling undefined instructions is stolen from ARM */
static LIST_HEAD(undef_hook);
static spinlock_t undef_lock = SPIN_LOCK_UNLOCKED;
static DEFINE_SPINLOCK(undef_lock);
void register_undef_hook(struct undef_hook *hook)
{
......
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册