|
@@ -71,7 +71,7 @@ static int nowayout = WATCHDOG_NOWAYOUT;
|
|
static struct watchdog_info bfin_wdt_info;
|
|
static struct watchdog_info bfin_wdt_info;
|
|
static unsigned long open_check;
|
|
static unsigned long open_check;
|
|
static char expect_close;
|
|
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
|
|
* bfin_wdt_keepalive - Keep the Userspace Watchdog Alive
|