summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Koeller <thomas.koeller@baslerweb.com>2006-12-06 03:45:39 +0300
committerWim Van Sebroeck <wim@iguana.be>2006-12-08 00:41:35 +0300
commit74e86ab884fb491c208905bdc32a9d95740be583 (patch)
treebb7f061a9521a75aa4bac79a2f6280f867360314
parentbec4f749cb75d30cebf9837985a06474f595f3ae (diff)
downloadlinux-74e86ab884fb491c208905bdc32a9d95740be583.tar.xz
[WATCHDOG] rm9k_wdt: fix interrupt handler arguments
Removed 'struct pt_regs *' from interrupt handler arguments. Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
-rw-r--r--drivers/char/watchdog/rm9k_wdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/watchdog/rm9k_wdt.c b/drivers/char/watchdog/rm9k_wdt.c
index bc7def48e0e6..7576a13e86bc 100644
--- a/drivers/char/watchdog/rm9k_wdt.c
+++ b/drivers/char/watchdog/rm9k_wdt.c
@@ -47,7 +47,7 @@
/* Function prototypes */
-static irqreturn_t wdt_gpi_irqhdl(int, void *, struct pt_regs *);
+static irqreturn_t wdt_gpi_irqhdl(int, void *);
static void wdt_gpi_start(void);
static void wdt_gpi_stop(void);
static void wdt_gpi_set_timeout(unsigned int);
@@ -115,7 +115,7 @@ static struct notifier_block wdt_gpi_shutdown = {
/* Interrupt handler */
-static irqreturn_t wdt_gpi_irqhdl(int irq, void *ctxt, struct pt_regs *regs)
+static irqreturn_t wdt_gpi_irqhdl(int irq, void *ctxt)
{
if (!unlikely(__raw_readl(wd_regs + 0x0008) & 0x1))
return IRQ_NONE;