summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-07-26 21:41:37 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-26 21:48:54 -0700
commitcc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1 (patch)
tree48dee72ac24026d83f5eddf77a96962b5e6aaac1 /drivers/char
parentae6578fe9b65208dee8eda40629984efd23740c4 (diff)
downloadlinux-cc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1.tar.bz2
[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;
}