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
- Lines: 28
- Date:
Tue Jul 27 16:05:50 1999
- Orig file:
v2.3.11/linux/drivers/usb/usb-core.c
- Orig date:
Wed Jun 16 19:26:27 1999
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)