From 50c8972cfb1a39e593e70ea02016d6bdea3930fd Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Sat, 10 Nov 2007 05:58:44 +0100 Subject: [PATCH] --- yaml --- r: 74905 b: refs/heads/master c: bf6350a3dfcbd0a0811d7c210beacb66e90eca47 h: refs/heads/master i: 74903: ddf5beae5c2f59ce0bf6e093b88ecd534481fdc5 v: v3 --- [refs] | 2 +- trunk/drivers/watchdog/bfin_wdt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 5ce50ce72ff4..cc2c6ff77d22 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3ff6eb4a2fe5757cbe7c5d57c8eb60ab0775f2f0 +refs/heads/master: bf6350a3dfcbd0a0811d7c210beacb66e90eca47 diff --git a/trunk/drivers/watchdog/bfin_wdt.c b/trunk/drivers/watchdog/bfin_wdt.c index 309d27913fc1..31dc7a69e90c 100644 --- a/trunk/drivers/watchdog/bfin_wdt.c +++ b/trunk/drivers/watchdog/bfin_wdt.c @@ -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