patch-2.3.18 linux/drivers/parport/init.c

Next file: linux/drivers/parport/parport_sunbpp.c
Previous file: linux/drivers/net/z85230.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.17/linux/drivers/parport/init.c linux/drivers/parport/init.c
@@ -25,6 +25,7 @@
 static int dma[PARPORT_MAX] __initdata = { [0 ... PARPORT_MAX-1] = PARPORT_DMA_NONE };
 
 extern int parport_pc_init(int *io, int *io_hi, int *irq, int *dma);
+extern int parport_sunbpp_init(void);
 
 static int parport_setup_ptr __initdata = 0;
 
@@ -152,10 +153,11 @@
 #ifdef CONFIG_PARPORT_ARC
 	parport_arc_init();
 #endif
+#ifdef CONFIG_PARPORT_SUNBPP
+	parport_sunbpp_init();
+#endif
 	return 0;
 }
-
-__initcall (parport_init);
 
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)