patch-2.1.72 linux/drivers/misc/parport_ax.c

Next file: linux/drivers/misc/parport_pc.c
Previous file: linux/drivers/isdn/isdn_ppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.71/linux/drivers/misc/parport_ax.c linux/drivers/misc/parport_ax.c
@@ -171,7 +171,7 @@
 {
 	if (p->irq != PARPORT_IRQ_NONE) {
 		ax_disable_irq(p);
-		free_irq(p->irq, p);
+		free_irq(p->irq, NULL);
 	}
 	release_region(p->base, p->size);
 	if (p->modes & PARPORT_MODE_PCECR)
@@ -185,7 +185,7 @@
 {
 	/* FIXME check that resources are free */
 	if (p->irq != PARPORT_IRQ_NONE) {
-		request_irq(p->irq, ax_null_intr_func, 0, p->name, p);
+		request_irq(p->irq, ax_null_intr_func, 0, p->name, NULL);
 		ax_enable_irq(p);
 	}
 	request_region(p->base, p->size, p->name);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov