]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/watchdog/bfin_wdt.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6
[linux-2.6-omap-h63xx.git] / drivers / watchdog / bfin_wdt.c
index 309d27913fc1db6bbffcb40add1c45fd02c098eb..31dc7a69e90c05e89da991a0c684918c19563028 100644 (file)
@@ -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