lkml.org 
[lkml]   [2006]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 1/4] Char: mxser_new, correct intr handler proto
From
Date
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>

---
commit 945bdc94338eb55b6c4dd1198357abb5acb93dd4
tree 58c36b048ea0409a598fd98087c993b87f36e7a0
parent 6831c804c9fc98965c297a1b6ba47a92d94d2ce7
author Jiri Slaby <jirislaby@gmail.com> Wed, 11 Oct 2006 21:11:01 +0200
committer Jiri Slaby <jirislaby@gmail.com> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-10-11 23:17    [W:0.504 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site