0001
0002
0003 #ifndef __LINUX_USB_ONBOARD_HUB_H
0004 #define __LINUX_USB_ONBOARD_HUB_H
0005
0006 struct usb_device;
0007 struct list_head;
0008
0009 #if IS_ENABLED(CONFIG_USB_ONBOARD_HUB)
0010 void onboard_hub_create_pdevs(struct usb_device *parent_hub, struct list_head *pdev_list);
0011 void onboard_hub_destroy_pdevs(struct list_head *pdev_list);
0012 #else
0013 static inline void onboard_hub_create_pdevs(struct usb_device *parent_hub,
0014 struct list_head *pdev_list) {}
0015 static inline void onboard_hub_destroy_pdevs(struct list_head *pdev_list) {}
0016 #endif
0017
0018 #endif