patch-2.3.12 linux/drivers/usb/usb-core.c

Next file: linux/drivers/usb/usb.c
Previous file: linux/drivers/usb/uhci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.11/linux/drivers/usb/usb-core.c linux/drivers/usb/usb-core.c
@@ -28,6 +28,7 @@
 #	endif
 #endif
 
+
 int usb_init(void)
 {
 #ifndef CONFIG_USB_MODULE
@@ -65,6 +66,9 @@
 		usb_scsi_init();
 #	endif
 #endif
+#ifdef CONFIG_USB_PROC
+	proc_usb_init ();
+#endif
 	return 0;
 }
 /*
@@ -72,6 +76,9 @@
  */
 void cleanup_drivers(void)
 {
+#ifdef CONFIG_USB_PROC
+	proc_usb_cleanup ();
+#endif
 #ifndef MODULE
 #	ifdef CONFIG_USB_HUB
 		usb_hub_cleanup();

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