mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-12 00:00:00 +00:00
f3a3406b3f
Converting uac1 to the new function interface requires converting the USB uac1's function code and its users. This patch converts the f_uac1.c to the new function interface. The file is now compiled into a separate usb_f_uac1.ko module. The old function interface is provided by means of a preprocessor conditional directives. After all users are converted, the old interface can be removed. Tested-by: Sebastian Reimers <sebastian.reimers@googlemail.com> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
#
|
|
# USB peripheral controller drivers
|
|
#
|
|
|
|
ccflags-y := -I$(PWD)/drivers/usb/gadget/
|
|
ccflags-y += -I$(PWD)/drivers/usb/gadget/udc/
|
|
|
|
# USB Functions
|
|
usb_f_acm-y := f_acm.o
|
|
obj-$(CONFIG_USB_F_ACM) += usb_f_acm.o
|
|
usb_f_ss_lb-y := f_loopback.o f_sourcesink.o
|
|
obj-$(CONFIG_USB_F_SS_LB) += usb_f_ss_lb.o
|
|
obj-$(CONFIG_USB_U_SERIAL) += u_serial.o
|
|
usb_f_serial-y := f_serial.o
|
|
obj-$(CONFIG_USB_F_SERIAL) += usb_f_serial.o
|
|
usb_f_obex-y := f_obex.o
|
|
obj-$(CONFIG_USB_F_OBEX) += usb_f_obex.o
|
|
obj-$(CONFIG_USB_U_ETHER) += u_ether.o
|
|
usb_f_ncm-y := f_ncm.o
|
|
obj-$(CONFIG_USB_F_NCM) += usb_f_ncm.o
|
|
usb_f_ecm-y := f_ecm.o
|
|
obj-$(CONFIG_USB_F_ECM) += usb_f_ecm.o
|
|
usb_f_phonet-y := f_phonet.o
|
|
obj-$(CONFIG_USB_F_PHONET) += usb_f_phonet.o
|
|
usb_f_eem-y := f_eem.o
|
|
obj-$(CONFIG_USB_F_EEM) += usb_f_eem.o
|
|
usb_f_ecm_subset-y := f_subset.o
|
|
obj-$(CONFIG_USB_F_SUBSET) += usb_f_ecm_subset.o
|
|
usb_f_rndis-y := f_rndis.o rndis.o
|
|
obj-$(CONFIG_USB_F_RNDIS) += usb_f_rndis.o
|
|
usb_f_mass_storage-y := f_mass_storage.o storage_common.o
|
|
obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o
|
|
usb_f_fs-y := f_fs.o
|
|
obj-$(CONFIG_USB_F_FS) += usb_f_fs.o
|
|
usb_f_uac1-y := f_uac1.o u_uac1.o
|
|
obj-$(CONFIG_USB_F_UAC1) += usb_f_uac1.o
|
|
usb_f_uac2-y := f_uac2.o
|
|
obj-$(CONFIG_USB_F_UAC2) += usb_f_uac2.o
|