[WATCHDOG] bfin_wdt, remove SPIN_LOCK_UNLOCKED
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>
This commit is contained in:
parent
3ff6eb4a2f
commit
bf6350a3df
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue