diff options
Diffstat (limited to 'drivers/watchdog/indydog.c')
-rw-r--r-- | drivers/watchdog/indydog.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/indydog.c b/drivers/watchdog/indydog.c index 1cc5609666d1..1475e09f9af2 100644 --- a/drivers/watchdog/indydog.c +++ b/drivers/watchdog/indydog.c | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #define PFX "indydog: " | 29 | #define PFX "indydog: " |
30 | static unsigned long indydog_alive; | 30 | static unsigned long indydog_alive; |
31 | static spinlock_t indydog_lock; | 31 | static DEFINE_SPINLOCK(indydog_lock); |
32 | 32 | ||
33 | #define WATCHDOG_TIMEOUT 30 /* 30 sec default timeout */ | 33 | #define WATCHDOG_TIMEOUT 30 /* 30 sec default timeout */ |
34 | 34 | ||
@@ -185,8 +185,6 @@ static int __init watchdog_init(void) | |||
185 | { | 185 | { |
186 | int ret; | 186 | int ret; |
187 | 187 | ||
188 | spin_lock_init(&indydog_lock); | ||
189 | |||
190 | ret = register_reboot_notifier(&indydog_notifier); | 188 | ret = register_reboot_notifier(&indydog_notifier); |
191 | if (ret) { | 189 | if (ret) { |
192 | printk(KERN_ERR PFX | 190 | printk(KERN_ERR PFX |