summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/Makefile
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2014-11-06 11:11:59 +0100
committerFelipe Balbi <balbi@ti.com>2014-11-06 16:18:18 -0600
commitcb382536052fcc7713988869b54a81137069e5a9 (patch)
treeb47eb0c49597f56c9ee6d29ff2122fb7a13f6d0f /drivers/usb/gadget/function/Makefile
parent00896f66f5032e5f53874a76e02cdad09f7ff90b (diff)
downloadop-kernel-dev-cb382536052fcc7713988869b54a81137069e5a9.zip
op-kernel-dev-cb382536052fcc7713988869b54a81137069e5a9.tar.gz
usb: gadget: f_hid: convert to new function interface with backward compatibility
Converting hid to the new function interface requires converting the USB hid's function code and its users. This patch converts the f_hid.c to the new function interface. The file can now be compiled into a separate usb_f_hid.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 576eea5..dd68091 100644
--- a/drivers/usb/gadget/function/Makefile
+++ b/drivers/usb/gadget/function/Makefile
@@ -40,3 +40,5 @@ 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
+usb_f_hid-y := f_hid.o
+obj-$(CONFIG_USB_F_HID) += usb_f_hid.o
OpenPOWER on IntegriCloud