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

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

diff -u --recursive --new-file v2.3.43/linux/drivers/usb/usb-core.c linux/drivers/usb/usb-core.c
@@ -29,19 +29,14 @@
  * USB device drivers
  */
 
-int usb_acm_init(void);
 int usb_audio_init(void);
 int usb_cpia_init(void);
 int usb_ibmcam_init(void);
 int usb_ov511_init(void);
 int usb_dc2xx_init(void);
 int usb_scanner_init(void);
-int usb_printer_init(void);
 int usb_stor_init(void);
-int usb_serial_init(void);
 int dabusb_init(void);
-int hid_init(void);
-int input_init(void);
 int usb_mouse_init(void);
 int usb_kbd_init(void);
 int graphire_init(void);
@@ -62,9 +57,8 @@
 void cleanup_module(void)
 {
 	usb_major_cleanup();
-        usbdevfs_cleanup();
+	usbdevfs_cleanup();
 	usb_hub_cleanup();
-
 }
 
 /*
@@ -87,15 +81,6 @@
 #ifdef CONFIG_USB_AUDIO
 	usb_audio_init();
 #endif
-#ifdef CONFIG_USB_ACM
-	usb_acm_init();
-#endif
-#ifdef CONFIG_USB_PRINTER
-	usb_printer_init();
-#endif
-#ifdef CONFIG_USB_SERIAL
-	usb_serial_init();
-#endif
 #ifdef CONFIG_USB_CPIA
 	usb_cpia_init();
 #endif
@@ -113,12 +98,6 @@
 #endif
 #ifdef CONFIG_USB_DABUSB
 	dabusb_init();
-#endif
-#if defined(CONFIG_USB_HID) || defined(CONFIG_USB_MOUSE) || defined(CONFIG_USB_KBD) || defined(CONFIG_USB_GRAPHIRE)
-	input_init();
-#endif
-#ifdef CONFIG_USB_HID
-	hid_init();
 #endif
 #ifdef CONFIG_USB_MOUSE
 	usb_mouse_init();

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