xref: /openbmc/linux/include/linux/usb/cdc-wdm.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
15fd54aceSGreg Kroah-Hartman // SPDX-License-Identifier: GPL-2.0
23cc36157SBjørn Mork /*
33cc36157SBjørn Mork  * USB CDC Device Management subdriver
43cc36157SBjørn Mork  *
53cc36157SBjørn Mork  * Copyright (c) 2012  Bjørn Mork <bjorn@mork.no>
63cc36157SBjørn Mork  */
73cc36157SBjørn Mork 
83cc36157SBjørn Mork #ifndef __LINUX_USB_CDC_WDM_H
93cc36157SBjørn Mork #define __LINUX_USB_CDC_WDM_H
103cc36157SBjørn Mork 
11*cac6fb01SLoic Poulain #include <linux/wwan.h>
123edce1cfSBjørn Mork #include <uapi/linux/usb/cdc-wdm.h>
133edce1cfSBjørn Mork 
143cc36157SBjørn Mork extern struct usb_driver *usb_cdc_wdm_register(struct usb_interface *intf,
153cc36157SBjørn Mork 					struct usb_endpoint_descriptor *ep,
16*cac6fb01SLoic Poulain 					int bufsize, enum wwan_port_type type,
173cc36157SBjørn Mork 					int (*manage_power)(struct usb_interface *, int));
183cc36157SBjørn Mork 
193cc36157SBjørn Mork #endif /* __LINUX_USB_CDC_WDM_H */
20