Loading drivers/usb/gadget/function/f_accessory.c +7 −0 Original line number Diff line number Diff line Loading @@ -448,12 +448,19 @@ static void acc_hid_close(struct hid_device *hid) { } static int acc_hid_raw_request(struct hid_device *hid, unsigned char reportnum, __u8 *buf, size_t len, unsigned char rtype, int reqtype) { return 0; } static struct hid_ll_driver acc_hid_ll_driver = { .parse = acc_hid_parse, .start = acc_hid_start, .stop = acc_hid_stop, .open = acc_hid_open, .close = acc_hid_close, .raw_request = acc_hid_raw_request, }; static struct acc_hid_dev *acc_hid_new(struct acc_dev *dev, Loading Loading
drivers/usb/gadget/function/f_accessory.c +7 −0 Original line number Diff line number Diff line Loading @@ -448,12 +448,19 @@ static void acc_hid_close(struct hid_device *hid) { } static int acc_hid_raw_request(struct hid_device *hid, unsigned char reportnum, __u8 *buf, size_t len, unsigned char rtype, int reqtype) { return 0; } static struct hid_ll_driver acc_hid_ll_driver = { .parse = acc_hid_parse, .start = acc_hid_start, .stop = acc_hid_stop, .open = acc_hid_open, .close = acc_hid_close, .raw_request = acc_hid_raw_request, }; static struct acc_hid_dev *acc_hid_new(struct acc_dev *dev, Loading