summaryrefslogtreecommitdiff
path: root/drivers/isdn/hisax/elsa_ser.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-31 05:42:50 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-20 19:10:17 -0400
commit896c6fa1e59dd17e1ac2877c25cab19bbb24e666 (patch)
treed3d2890ba76bb64e5bb13739960cadde943f9689 /drivers/isdn/hisax/elsa_ser.c
parenta6f97b293b08877d945ea3f28926aa446dd7ca2e (diff)
downloadlwn-896c6fa1e59dd17e1ac2877c25cab19bbb24e666.tar.gz
lwn-896c6fa1e59dd17e1ac2877c25cab19bbb24e666.zip
[ISDN] minor irq handler cleanups
- reference irq number in CardState structure - remove now-unused 'intno' argument from rs_interrupt_elsa() - cs->irq_func() should be defined using standard irq_handler_t - add KERN_DEBUG to printk() where appropriate Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/isdn/hisax/elsa_ser.c')
-rw-r--r--drivers/isdn/hisax/elsa_ser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/elsa_ser.c b/drivers/isdn/hisax/elsa_ser.c
index 1642dca988a1..f181db464392 100644
--- a/drivers/isdn/hisax/elsa_ser.c
+++ b/drivers/isdn/hisax/elsa_ser.c
@@ -384,13 +384,13 @@ static inline void transmit_chars(struct IsdnCardState *cs, int *intr_done)
}
-static void rs_interrupt_elsa(int irq, struct IsdnCardState *cs)
+static void rs_interrupt_elsa(struct IsdnCardState *cs)
{
int status, iir, msr;
int pass_counter = 0;
#ifdef SERIAL_DEBUG_INTR
- printk("rs_interrupt_single(%d)...", irq);
+ printk(KERN_DEBUG "rs_interrupt_single(%d)...", cs->irq);
#endif
do {