Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e89b064a authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Haavard Skinnemoen
Browse files

AVR32: Spinlock initializer cleanup

parent c19aa754
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{
+1 −1
Original line number Diff line number Diff line
@@ -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)
{