summaryrefslogtreecommitdiffstats
path: root/include/usb/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb/usb.h')
-rw-r--r--include/usb/usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h
index 94506fa525..5de9e25863 100644
--- a/include/usb/usb.h
+++ b/include/usb/usb.h
@@ -108,6 +108,7 @@ struct usb_device {
int act_len; /* transfered bytes */
int maxchild; /* Number of ports if hub */
int portnr;
+ int level;
struct usb_device *parent;
struct usb_device *children[USB_MAXCHILDREN];
@@ -460,4 +461,6 @@ int usb_register_otg_device(struct device_d *parent,
extern struct list_head usb_device_list;
+bool usb_hub_is_root_hub(struct usb_device *hdev);
+
#endif /*_USB_H_ */