summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/Makefile
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2014-10-16 13:33:27 +0200
committerFelipe Balbi <balbi@ti.com>2014-11-05 13:36:09 -0600
commitb85e9de9e818de0dcbc50b7b4242192eb6194855 (patch)
tree4e46fffc034ea985138adafcba9a0e7111c792da /drivers/usb/gadget/function/Makefile
parentd23b4c3ee2d5cbdeaec9f8e7d8a9bdcc73836fb9 (diff)
downloadop-kernel-dev-b85e9de9e818de0dcbc50b7b4242192eb6194855.zip
op-kernel-dev-b85e9de9e818de0dcbc50b7b4242192eb6194855.tar.gz
usb: gadget: f_midi: convert to new function interface with backward compatibility
Converting midi to the new function interface requires converting the USB midi's function code and its users. This patch converts the f_midi.c to the new function interface. The file can now be compiled into a separate usb_f_midi.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. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/function/Makefile')
-rw-r--r--drivers/usb/gadget/function/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/function/Makefile b/drivers/usb/gadget/function/Makefile
index 90701aa..576eea5 100644
--- a/drivers/usb/gadget/function/Makefile
+++ b/drivers/usb/gadget/function/Makefile
@@ -38,3 +38,5 @@ usb_f_uac2-y := f_uac2.o
obj-$(CONFIG_USB_F_UAC2) += usb_f_uac2.o
usb_f_uvc-y := f_uvc.o uvc_queue.o uvc_v4l2.o uvc_video.o
obj-$(CONFIG_USB_F_UVC) += usb_f_uvc.o
+usb_f_midi-y := f_midi.o
+obj-$(CONFIG_USB_F_MIDI) += usb_f_midi.o
OpenPOWER on IntegriCloud