patch-1.3.70 linux/drivers/scsi/aha1740.c

Next file: linux/drivers/scsi/aic7xxx.c
Previous file: linux/drivers/scsi/aha1542.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.69/linux/drivers/scsi/aha1740.c linux/drivers/scsi/aha1740.c
@@ -174,7 +174,7 @@
 }
 
 /* A "high" level interrupt handler */
-void aha1740_intr_handle(int irq, struct pt_regs * regs)
+void aha1740_intr_handle(int irq, void *dev_id, struct pt_regs * regs)
 {
     void (*my_done)(Scsi_Cmnd *);
     int errstatus, adapstat;
@@ -472,7 +472,7 @@
 
     DEB(printk("aha1740_detect: enable interrupt channel %d\n", irq_level));
 
-    if (request_irq(irq_level,aha1740_intr_handle, 0, "aha1740"))
+    if (request_irq(irq_level,aha1740_intr_handle, 0, "aha1740", NULL))
     {
 	printk("Unable to allocate IRQ for adaptec controller.\n");
 	return 0;

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