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

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

diff -u --recursive --new-file v2.3.11/linux/drivers/usb/usb.c linux/drivers/usb/usb.c
@@ -36,6 +36,7 @@
  * 6		wLength		2	Count		Bytes for data
  */
 
+#include <linux/config.h>
 #include <linux/string.h>
 #include <linux/bitops.h>
 #include <linux/malloc.h>
@@ -1140,3 +1141,15 @@
 {
 	return dev->bus->op->release_irq(handle);
 }
+
+#ifdef CONFIG_PROC_FS
+struct list_head * usb_driver_get_list (void)
+{
+	return &usb_driver_list;
+}
+
+struct list_head * usb_bus_get_list (void)
+{
+	return &usb_bus_list;
+}
+#endif

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