k1: watchdog: fix use reboot_lock without init
Change-Id: I1b9d64482ed7c7c499d7505e627d8a8ed5d8240a Signed-off-by: yanhaodong <haodong.yan@spacemit.com>
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
#define REBOOT_CMD_VALID 0x5
|
||||
|
||||
static bool nowayout = WATCHDOG_NOWAYOUT ? true : false;
|
||||
static spinlock_t reboot_lock;
|
||||
static DEFINE_SPINLOCK(reboot_lock);
|
||||
static DEFINE_MUTEX(wdt_clk_lock);
|
||||
|
||||
phys_addr_t reboot_cmd_mem = 0;
|
||||
|
||||
Reference in New Issue
Block a user