[PATCH 1/4] Char: mxser_new, correct intr handler proto

From: Jiri Slaby
Date: Wed Oct 11 2006 - 17:14:19 EST


mxser_new, correct intr handler proto

Prototype of the driver's interrupt handler is old-fashioned, past changes
tell us, we won't get pt_regs as the 3rd argument. There are only 2 params.

Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx>

---
commit 945bdc94338eb55b6c4dd1198357abb5acb93dd4
tree 58c36b048ea0409a598fd98087c993b87f36e7a0
parent 6831c804c9fc98965c297a1b6ba47a92d94d2ce7
author Jiri Slaby <jirislaby@xxxxxxxxx> Wed, 11 Oct 2006 21:11:01 +0200
committer Jiri Slaby <jirislaby@xxxxxxxxx> Wed, 11 Oct 2006 21:11:01 +0200

drivers/char/mxser_new.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index 0bc13f7..d9e5400 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -2265,7 +2265,7 @@ unlock:
/*
* This is the serial driver's generic interrupt routine
*/
-static irqreturn_t mxser_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+static irqreturn_t mxser_interrupt(int irq, void *dev_id)
{
int status, iir, i;
struct mxser_board *brd = NULL;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/