summaryrefslogtreecommitdiffstats
path: root/include/usb
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/usb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h
index 9b36122436..717bcf935a 100644
--- a/include/usb/usb.h
+++ b/include/usb/usb.h
@@ -484,4 +484,12 @@ extern struct list_head usb_device_list;
bool usb_hub_is_root_hub(struct usb_device *hdev);
+#ifdef CONFIG_USB_ONBOARD_HUB
+void of_usb_host_probe_hubs(struct usb_host *host);
+#else
+static inline void of_usb_host_probe_hubs(struct usb_host *host)
+{
+}
+#endif
+
#endif /*_USB_H_ */