15 #include <linux/kernel.h>
17 #include <linux/list.h>
18 #include <linux/module.h>
22 #define DRIVER_DESC "HID Gadget"
23 #define DRIVER_VERSION "2010/03/16"
27 #define HIDG_VENDOR_NUM 0x0525
28 #define HIDG_PRODUCT_NUM 0xa4ac
53 .bLength =
sizeof device_desc,
73 .bNumConfigurations = 1,
77 .bLength =
sizeof otg_descriptor,
102 .strings = strings_dev,
119 if (gadget_is_otg(c->
cdev->gadget)) {
134 .label =
"HID Gadget",
135 .bConfigurationValue = 1,
192 dev_err(&pdev->
dev,
"Platform data missing\n");
225 .strings = dev_strings,
244 static int __init hidg_init(
void)
249 hidg_plat_driver_probe);
261 static void __exit hidg_cleanup(
void)