Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.2-rc7 18 lines 584 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef __LINUX_USB_ONBOARD_HUB_H 4#define __LINUX_USB_ONBOARD_HUB_H 5 6struct usb_device; 7struct list_head; 8 9#if IS_ENABLED(CONFIG_USB_ONBOARD_HUB) 10void onboard_hub_create_pdevs(struct usb_device *parent_hub, struct list_head *pdev_list); 11void onboard_hub_destroy_pdevs(struct list_head *pdev_list); 12#else 13static inline void onboard_hub_create_pdevs(struct usb_device *parent_hub, 14 struct list_head *pdev_list) {} 15static inline void onboard_hub_destroy_pdevs(struct list_head *pdev_list) {} 16#endif 17 18#endif /* __LINUX_USB_ONBOARD_HUB_H */