summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-05-29 19:44:20 -0700
committerPatrick Mochel <mochel@osdl.org>2002-05-29 19:44:20 -0700
commitcdc265a4b536040ec75295699112ff00814e472c (patch)
treee5d2255535660596dec5ac2ff963f9eb1f09cbda /include/linux
parent22775da009ff878e020593ad247d7615e16f6ce8 (diff)
USB: define usb_bus_type and register on startup
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index df2c764dec66..d31eb7e942b3 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -713,6 +713,8 @@ struct usb_driver {
/* void (*resume)(struct usb_device *dev); */
};
+extern struct bus_type usb_bus_type;
+
/*
* use these in module_init()/module_exit()
* and don't forget MODULE_DEVICE_TABLE(usb, ...)