dev->cdev = c->cdev;
dev->function.name = "accessory";
dev->function.strings = acc_strings,
- dev->function.descriptors = fs_acc_descs;
+ dev->function.fs_descriptors = fs_acc_descs;
dev->function.hs_descriptors = hs_acc_descs;
dev->function.bind = acc_function_bind;
dev->function.unbind = acc_function_unbind;
dev->cdev = c->cdev;
dev->function.name = "adb";
- dev->function.descriptors = fs_adb_descs;
+ dev->function.fs_descriptors = fs_adb_descs;
dev->function.hs_descriptors = hs_adb_descs;
dev->function.bind = adb_function_bind;
dev->function.unbind = adb_function_unbind;
hs_as_in_ep_desc.bEndpointAddress =
fs_as_in_ep_desc.bEndpointAddress;
- f->descriptors = fs_audio_desc;
+ f->fs_descriptors = fs_audio_desc;
f->hs_descriptors = hs_audio_desc;
for (i = 0, status = 0; i < IN_EP_REQ_COUNT && status == 0; i++) {
dev->function.name = "mtp";
dev->function.strings = mtp_strings;
if (ptp_config) {
- dev->function.descriptors = fs_ptp_descs;
+ dev->function.fs_descriptors = fs_ptp_descs;
dev->function.hs_descriptors = hs_ptp_descs;
} else {
- dev->function.descriptors = fs_mtp_descs;
+ dev->function.fs_descriptors = fs_mtp_descs;
dev->function.hs_descriptors = hs_mtp_descs;
}
dev->function.bind = mtp_function_bind;