dect
/
linux-2.6
Archived
13
0
Fork 0

[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 <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Jiri Slaby 2006-12-08 02:38:31 -08:00 committed by Linus Torvalds
parent e079f495b7
commit b1d1c8dd35
1 changed files with 1 additions and 1 deletions

View File

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