1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 2 3 #ifndef __LINUX_USB_ONBOARD_DEV_H 3 #ifndef __LINUX_USB_ONBOARD_DEV_H 4 #define __LINUX_USB_ONBOARD_DEV_H 4 #define __LINUX_USB_ONBOARD_DEV_H 5 5 6 struct usb_device; 6 struct usb_device; 7 struct list_head; 7 struct list_head; 8 8 9 #if IS_ENABLED(CONFIG_USB_ONBOARD_DEV) 9 #if IS_ENABLED(CONFIG_USB_ONBOARD_DEV) 10 void onboard_dev_create_pdevs(struct usb_devic 10 void onboard_dev_create_pdevs(struct usb_device *parent_dev, struct list_head *pdev_list); 11 void onboard_dev_destroy_pdevs(struct list_hea 11 void onboard_dev_destroy_pdevs(struct list_head *pdev_list); 12 #else 12 #else 13 static inline void onboard_dev_create_pdevs(st 13 static inline void onboard_dev_create_pdevs(struct usb_device *parent_dev, 14 st 14 struct list_head *pdev_list) {} 15 static inline void onboard_dev_destroy_pdevs(s 15 static inline void onboard_dev_destroy_pdevs(struct list_head *pdev_list) {} 16 #endif 16 #endif 17 17 18 #endif /* __LINUX_USB_ONBOARD_DEV_H */ 18 #endif /* __LINUX_USB_ONBOARD_DEV_H */ 19 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.