[parisc-linux-cvs] parport-code fix
Helge Deller
deller@gmx.de
Tue, 27 Feb 2001 21:43:35 +0100
This patch fixes the double call (from busdevices.c and through ELF-magic) to
parport_gsc_init().
While at it I removed the call to register_harmony_drivers(), which will be
replaced with one of my next commits by ELF-magic too.
Index: busdevice.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/gsc/busdevice.c,v
retrieving revision 1.16
diff -u -r1.16 busdevice.c
--- busdevice.c 2001/02/07 07:49:00 1.16
+++ busdevice.c 2001/02/27 20:30:38
@@ -241,7 +241,6 @@
/*
* Initialize all controller chips (LASI/ASP/WAX) and attached devices.
*/
-extern int parport_gsc_init (void);
extern void register_lan_drivers(void);
extern void register_hil_drivers(void);
extern int lasi_psaux_init(void);
@@ -271,16 +270,8 @@
#endif
#endif
-#ifdef CONFIG_PARPORT_GSC
- parport_gsc_init(); /* parallel port driver */
-#endif
-
#ifdef CONFIG_LASI_82596
register_lan_drivers(); /* LASI/ASP LAN (i82596) */
-#endif
-
-#ifdef CONFIG_SOUND_GSC_HARMONY
- register_harmony_drivers();
#endif
return 0;