From: Jiri Slaby Date: Fri, 8 Dec 2006 10:38:31 +0000 (-0800) Subject: [PATCH] Char: mxser_new, correct intr handler proto X-Git-Tag: v2.6.20-rc1~34^2~216 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b1d1c8dd35aa95fbeb7051eee9811fc2475a81f4;p=linux-2.6-omap-h63xx.git [PATCH] Char: 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 Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c index a3328bb147b..7709cd865ff 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;