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

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

diff -u --recursive --new-file v2.3.16/linux/drivers/usb/usb-core.c linux/drivers/usb/usb-core.c
@@ -44,6 +44,9 @@
 #	ifdef CONFIG_USB_MOUSE
 		usb_mouse_init();
 #	endif
+#       ifdef CONFIG_USB_HP_SCANNER
+                usb_hp_scanner_init();
+#       endif
 #	ifdef CONFIG_USB_KBD
 		usb_kbd_init();
 #	endif
@@ -86,6 +89,9 @@
 #	ifdef CONFIG_USB_MOUSE
         	usb_mouse_cleanup();
 #	endif
+#       ifdef CONFIG_USB_HP_SCANNER
+                usb_hp_scanner_cleanup();
+#       endif
 #endif
 }
 

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