1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __LINUX_USB_ONBOARD_HUB_H
4 #define __LINUX_USB_ONBOARD_HUB_H
9 #if IS_ENABLED(CONFIG_USB_ONBOARD_HUB)
10 void onboard_hub_create_pdevs(struct usb_device *parent_hub, struct list_head *pdev_list);
11 void onboard_hub_destroy_pdevs(struct list_head *pdev_list);
13 static inline void onboard_hub_create_pdevs(struct usb_device *parent_hub,
14 struct list_head *pdev_list) {}
15 static inline void onboard_hub_destroy_pdevs(struct list_head *pdev_list) {}
18 #endif /* __LINUX_USB_ONBOARD_HUB_H */