[PATCH 2/5] Watchdog: bfin_wdt, remove SPIN_LOCK_UNLOCKED

From: Jiri Slaby
Date: Fri Nov 09 2007 - 18:32:22 EST


bfin_wdt, remove SPIN_LOCK_UNLOCKED

SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead

Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx>
Cc: Wim Van Sebroeck <wim@xxxxxxxxx>

---
commit 5290a0e1fffeb61f0062ebca98e45a6a5ba75711
tree 4d377ca30153b48b32b4d2c079ab884983c0091d
parent aefcf0f6b6ab925184e7cebff8b609e4da1f5c0d
author Jiri Slaby <jirislaby@xxxxxxxxx> Thu, 25 Oct 2007 11:55:29 +0200
committer Jiri Slaby <jirislaby@xxxxxxxxx> Thu, 25 Oct 2007 11:55:29 +0200

drivers/watchdog/bfin_wdt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/watchdog/bfin_wdt.c b/drivers/watchdog/bfin_wdt.c
index 309d279..31dc7a6 100644
--- a/drivers/watchdog/bfin_wdt.c
+++ b/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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/