.. | .. |
---|
54 | 54 | .bLength = UAC_DT_AC_HEADER_LENGTH, |
---|
55 | 55 | .bDescriptorType = USB_DT_CS_INTERFACE, |
---|
56 | 56 | .bDescriptorSubtype = UAC_HEADER, |
---|
57 | | - .bcdADC = __constant_cpu_to_le16(0x0100), |
---|
58 | | - .wTotalLength = __constant_cpu_to_le16(UAC_DT_TOTAL_LENGTH), |
---|
| 57 | + .bcdADC = cpu_to_le16(0x0100), |
---|
| 58 | + .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH), |
---|
59 | 59 | .bInCollection = F_AUDIO_NUM_INTERFACES, |
---|
60 | 60 | .baInterfaceNr = { |
---|
61 | 61 | /* Interface number of the first AudioStream interface */ |
---|
.. | .. |
---|
183 | 183 | .bDescriptorSubtype = UAC_EP_GENERAL, |
---|
184 | 184 | .bmAttributes = 1, |
---|
185 | 185 | .bLockDelayUnits = 1, |
---|
186 | | - .wLockDelay = __constant_cpu_to_le16(1), |
---|
| 186 | + .wLockDelay = cpu_to_le16(1), |
---|
187 | 187 | }; |
---|
188 | 188 | |
---|
189 | 189 | static struct usb_descriptor_header *f_audio_desc[] = { |
---|
.. | .. |
---|
759 | 759 | audio->out_ep = ep; |
---|
760 | 760 | audio->out_ep->desc = &as_out_ep_desc; |
---|
761 | 761 | |
---|
762 | | - status = -ENOMEM; |
---|
763 | | - |
---|
764 | 762 | /* copy descriptors, and track endpoint copies */ |
---|
765 | 763 | status = usb_assign_descriptors(f, f_audio_desc, f_audio_desc, NULL, |
---|
766 | 764 | NULL); |
---|
.. | .. |
---|
1023 | 1021 | |
---|
1024 | 1022 | DECLARE_USB_FUNCTION_INIT(uac1_legacy, f_audio_alloc_inst, f_audio_alloc); |
---|
1025 | 1023 | MODULE_LICENSE("GPL"); |
---|
| 1024 | +MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); |
---|
1026 | 1025 | MODULE_AUTHOR("Bryan Wu"); |
---|