Skip to content

Commit

Permalink
[WATCHDOG] bfin_wdt, remove SPIN_LOCK_UNLOCKED
Browse files Browse the repository at this point in the history
bfin_wdt, remove SPIN_LOCK_UNLOCKED

SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Mike Frysinger <vapier.adi@gmail.com>
Cc: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
Jiri Slaby authored and Wim Van Sebroeck committed Nov 19, 2007
1 parent 3ff6eb4 commit bf6350a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/bfin_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static int nowayout = WATCHDOG_NOWAYOUT;
static struct watchdog_info bfin_wdt_info;
static unsigned long open_check;
static char expect_close;
static spinlock_t bfin_wdt_spinlock = SPIN_LOCK_UNLOCKED;
static DEFINE_SPINLOCK(bfin_wdt_spinlock);

/**
* bfin_wdt_keepalive - Keep the Userspace Watchdog Alive
Expand Down

0 comments on commit bf6350a

Please sign in to comment.