summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-07-27 06:41:37 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 06:48:54 +0200
commitcc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1 (patch)
tree48dee72ac24026d83f5eddf77a96962b5e6aaac1 /drivers/char
parent[PATCH] i386: clean up user_mode macros (diff)
downloadlinux-cc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1.tar.xz
linux-cc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1.zip
[PATCH] eurotechwdt build fix
drivers/char/watchdog/eurotechwdt.c:165: too many arguments to function `emergency_restart' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/watchdog/eurotechwdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/eurotechwdt.c b/drivers/char/watchdog/eurotechwdt.c
index f1016e3ba117..2a29a511df7f 100644
--- a/drivers/char/watchdog/eurotechwdt.c
+++ b/drivers/char/watchdog/eurotechwdt.c
@@ -167,7 +167,7 @@ static irqreturn_t eurwdt_interrupt(int irq, void *dev_id, struct pt_regs *regs)
printk(KERN_CRIT "Would Reboot.\n");
#else
printk(KERN_CRIT "Initiating system reboot.\n");
- emergency_restart(NULL);
+ emergency_restart();
#endif
return IRQ_HANDLED;
}