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

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

diff -u --recursive --new-file v2.3.38/linux/drivers/usb/usb-core.c linux/drivers/usb/usb-core.c
@@ -38,7 +38,7 @@
 int usb_dc2xx_init(void);
 int usb_scanner_init(void);
 int usb_printer_init(void);
-int usb_scsi_init(void);
+int usb_stor_init(void);
 int usb_serial_init(void);
 int dabusb_init(void);
 int hid_init(void);
@@ -65,7 +65,8 @@
 #ifdef CONFIG_USB_PROC
 	proc_usb_cleanup ();
 #endif
-	usb_hub_cleanup();	
+        usbdevfs_cleanup();
+	usb_hub_cleanup();
 
 }
 
@@ -82,6 +83,7 @@
 #ifdef CONFIG_USB_PROC
 	proc_usb_init();
 #endif
+        usbdevfs_init();
 	usb_hub_init();
 
 #ifndef CONFIG_USB_MODULE
@@ -110,7 +112,7 @@
 	usb_dc2xx_init();
 #endif
 #ifdef CONFIG_USB_SCSI
-	usb_scsi_init();
+	usb_stor_init();
 #endif
 #ifdef CONFIG_USB_DABUSB
 	dabusb_init();

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