summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/usb/cdc-wdm.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/usb/cdc-wdm.h')
-rw-r--r--kernel/include/linux/usb/cdc-wdm.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/include/linux/usb/cdc-wdm.h b/kernel/include/linux/usb/cdc-wdm.h
new file mode 100644
index 000000000..0b3f4295c
--- /dev/null
+++ b/kernel/include/linux/usb/cdc-wdm.h
@@ -0,0 +1,21 @@
+/*
+ * USB CDC Device Management subdriver
+ *
+ * Copyright (c) 2012 Bjørn Mork <bjorn@mork.no>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ */
+
+#ifndef __LINUX_USB_CDC_WDM_H
+#define __LINUX_USB_CDC_WDM_H
+
+#include <uapi/linux/usb/cdc-wdm.h>
+
+extern struct usb_driver *usb_cdc_wdm_register(struct usb_interface *intf,
+ struct usb_endpoint_descriptor *ep,
+ int bufsize,
+ int (*manage_power)(struct usb_interface *, int));
+
+#endif /* __LINUX_USB_CDC_WDM_H */