Parport_pc compile errors in 2.4.4

Hal Duston (hald@sound.net)
Wed, 2 May 2001 13:30:31 -0500 (CDT)


All,

I have encountered a compile error in 2.4.4.

The autoirq and autodma parameters that were added (in 2.4.3-ac2)
to parport_pc_init_superio are missing from the else
side of the #ifdef CONFIG_PCI

I _think_ this patch should fix it.

==== PATCH against 2.4.4 ====
*** linux/drivers/parport/parport_pc.c.orig Wed May 2 13:18:00 2001
--- linux/drivers/parport/parport_pc.c Wed May 2 13:19:02 2001
***************
*** 2576,2582 ****
}
#else
static struct pci_driver parport_pc_pci_driver;
! static int __init parport_pc_init_superio(void) {return 0;}
#endif /* CONFIG_PCI */

/* This is called by parport_pc_find_nonpci_ports (in asm/parport.h) */
--- 2576,2582 ----
}
#else
static struct pci_driver parport_pc_pci_driver;
! static int __init parport_pc_init_superio (int autoirq, int autodma)
{return 0;}
#endif /* CONFIG_PCI */

/* This is called by parport_pc_find_nonpci_ports (in asm/parport.h) */
==== PATCH ENDS ====

Thanks,
Hal Duston
hald@sound.net

-
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/