Commit:     bf6350a3dfcbd0a0811d7c210beacb66e90eca47
Parent:     3ff6eb4a2fe5757cbe7c5d57c8eb60ab0775f2f0
Author:     Jiri Slaby <[EMAIL PROTECTED]>
AuthorDate: Sat Nov 10 05:58:44 2007 +0100
Committer:  Wim Van Sebroeck <[EMAIL PROTECTED]>
CommitDate: Mon Nov 19 21:09:42 2007 +0000

    [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 <[EMAIL PROTECTED]>
    Acked-by: Mike Frysinger <[EMAIL PROTECTED]>
    Cc: Bryan Wu <[EMAIL PROTECTED]>
    Signed-off-by: Wim Van Sebroeck <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
 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 git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to