1 // SPDX-License-Identifier: GPL-2.0
3 * USB CDC Device Management subdriver
5 * Copyright (c) 2012 Bjørn Mork <bjorn@mork.no>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * version 2 as published by the Free Software Foundation.
12 #ifndef __LINUX_USB_CDC_WDM_H
13 #define __LINUX_USB_CDC_WDM_H
15 #include <linux/wwan.h>
16 #include <uapi/linux/usb/cdc-wdm.h>
18 extern struct usb_driver *usb_cdc_wdm_register(struct usb_interface *intf,
19 struct usb_endpoint_descriptor *ep,
20 int bufsize, enum wwan_port_type type,
21 int (*manage_power)(struct usb_interface *, int));
23 #endif /* __LINUX_USB_CDC_WDM_H */