patch-2.3.44 linux/init/main.c

Next file: linux/kernel/kmod.c
Previous file: linux/include/net/sock.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.43/linux/init/main.c linux/init/main.c
@@ -91,6 +91,7 @@
 extern void signals_init(void);
 extern void bdev_init(void);
 extern int init_pcmcia_ds(void);
+extern int usb_init(void);
 
 extern void free_initmem(void);
 extern void filesystem_setup(void);
@@ -646,6 +647,10 @@
 #endif
 #ifdef CONFIG_ISAPNP
 	isapnp_init();
+#endif
+#ifdef CONFIG_USB
+	usb_init();	/* Do this before doing initcalls, so that we can make
+			usbcore initialize here, and all drivers initialize later */
 #endif
 
 	/* Networking initialization needs a process context */ 

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])