From: Andrew Morton <akpm@osdl.org>
Date: Wed, 27 Jul 2005 04:41:37 +0000 (-0700)
Subject: [PATCH] eurotechwdt build fix
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git

[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>
---

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;
 }