|
@@ -21,6 +21,13 @@ extern void usb_unlock_all_devices(void);
|
|
extern void usb_kick_khubd(struct usb_device *dev);
|
|
extern void usb_kick_khubd(struct usb_device *dev);
|
|
extern void usb_resume_root_hub(struct usb_device *dev);
|
|
extern void usb_resume_root_hub(struct usb_device *dev);
|
|
|
|
|
|
|
|
+extern int usb_hub_init(void);
|
|
|
|
+extern void usb_hub_cleanup(void);
|
|
|
|
+extern int usb_major_init(void);
|
|
|
|
+extern void usb_major_cleanup(void);
|
|
|
|
+extern int usb_host_init(void);
|
|
|
|
+extern void usb_host_cleanup(void);
|
|
|
|
+
|
|
/* for labeling diagnostics */
|
|
/* for labeling diagnostics */
|
|
extern const char *usbcore_name;
|
|
extern const char *usbcore_name;
|
|
|
|
|
|
@@ -30,6 +37,7 @@ extern struct file_operations usbfs_devices_fops;
|
|
extern struct file_operations usbfs_device_file_operations;
|
|
extern struct file_operations usbfs_device_file_operations;
|
|
extern void usbfs_conn_disc_event(void);
|
|
extern void usbfs_conn_disc_event(void);
|
|
|
|
|
|
|
|
+
|
|
struct dev_state {
|
|
struct dev_state {
|
|
struct list_head list; /* state list */
|
|
struct list_head list; /* state list */
|
|
struct usb_device *dev;
|
|
struct usb_device *dev;
|