projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WATCHDOG] IT8212F watchdog driver
[powerpc.git]
/
drivers
/
watchdog
/
sbc8360.c
diff --git
a/drivers/watchdog/sbc8360.c
b/drivers/watchdog/sbc8360.c
index
285d852
..
2ee2677
100644
(file)
--- a/
drivers/watchdog/sbc8360.c
+++ b/
drivers/watchdog/sbc8360.c
@@
-54,7
+54,7
@@
#include <asm/system.h>
static unsigned long sbc8360_is_open;
#include <asm/system.h>
static unsigned long sbc8360_is_open;
-static
spinlock_t sbc8360_lock
;
+static
DEFINE_SPINLOCK(sbc8360_lock)
;
static char expect_close;
#define PFX "sbc8360: "
static char expect_close;
#define PFX "sbc8360: "
@@
-359,7
+359,6
@@
static int __init sbc8360_init(void)
goto out_noreboot;
}
goto out_noreboot;
}
- spin_lock_init(&sbc8360_lock);
res = misc_register(&sbc8360_miscdev);
if (res) {
printk(KERN_ERR PFX "failed to register misc device\n");
res = misc_register(&sbc8360_miscdev);
if (res) {
printk(KERN_ERR PFX "failed to register misc device\n");