17 #include <linux/kernel.h>
18 #include <linux/module.h>
22 #define DRIVER_DESC "Composite Gadget (ACM + MS)"
23 #define DRIVER_VERSION "2011/10/10"
31 #define ACM_MS_VENDOR_NUM 0x1d6b
32 #define ACM_MS_PRODUCT_NUM 0x0106
52 .bLength =
sizeof device_desc,
74 .bLength =
sizeof otg_descriptor,
99 .strings = strings_dev,
123 if (gadget_is_otg(c->
cdev->gadget)) {
142 .bConfigurationValue = 1,
161 retp = fsg_common_from_params(&
fsg_common, cdev, &fsg_mod_data);
163 status = PTR_ERR(retp);
178 status =
usb_add_config(cdev, &acm_ms_config_driver, acm_ms_do_config);
207 .strings = dev_strings,
222 static void __exit cleanup(
void)