File Index
Files and directories
Sign in
FILE

onboard_dev.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/usb/onboard_dev.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2
 3#ifndef __LINUX_USB_ONBOARD_DEV_H
 4#define __LINUX_USB_ONBOARD_DEV_H
 5
 6struct usb_device;
 7struct list_head;
 8
 9#if IS_ENABLED(CONFIG_USB_ONBOARD_DEV)
10void onboard_dev_create_pdevs(struct usb_device *parent_dev, struct list_head *pdev_list);
11void onboard_dev_destroy_pdevs(struct list_head *pdev_list);
12#else
13static inline void onboard_dev_create_pdevs(struct usb_device *parent_dev,
14					    struct list_head *pdev_list) {}
15static inline void onboard_dev_destroy_pdevs(struct list_head *pdev_list) {}
16#endif
17
18#endif /* __LINUX_USB_ONBOARD_DEV_H */
~/ Read-only file preview.