patch-1.3.71 linux/drivers/isdn/teles/card.c
Next file: linux/drivers/net/3c503.c
Previous file: linux/drivers/char/serial.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sat Mar 2 12:37:45 1996
- Orig file:
v1.3.70/linux/drivers/isdn/teles/card.c
- Orig date:
Sat Mar 2 10:43:25 1996
diff -u --recursive --new-file v1.3.70/linux/drivers/isdn/teles/card.c linux/drivers/isdn/teles/card.c
@@ -668,7 +668,7 @@
}
static void
-teles_interrupt(int intno, struct pt_regs *regs)
+teles_interrupt(int intno, void *dev_id, struct pt_regs *regs)
{
byte val, val2, r;
struct IsdnCardState *sp;
@@ -1530,7 +1530,7 @@
save_flags(flags);
cli();
if (request_irq(card->interrupt, &teles_interrupt,
- SA_INTERRUPT, "teles")) {
+ SA_INTERRUPT, "teles", NULL)) {
printk(KERN_WARNING "Teles couldn't get interrupt %d\n",
card->interrupt);
restore_flags(flags);
@@ -1547,7 +1547,7 @@
struct IsdnCard *card = cards + cardnr;
irq2dev_map[card->interrupt] = NULL;
- free_irq(card->interrupt);
+ free_irq(card->interrupt, NULL);
}
void
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this