2001-04-28 21:38:02

by Richard Zidlicky

[permalink] [raw]
Subject: [PATCH] 2.4.4 parport_pc.c compilation fix when !CONFIG_PCI



--- linux-2.4.4/drivers/parport/parport_pc.c~ Sat Apr 28 21:43:38 2001
+++ linux-2.4.4/drivers/parport/parport_pc.c Sat Apr 28 22:37:29 2001
@@ -2576,7 +2576,7 @@
}
#else
static struct pci_driver parport_pc_pci_driver;
-static int __init parport_pc_init_superio(void) {return 0;}
+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) */