diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2014-10-16 13:33:27 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-05 13:36:09 -0600 |
commit | b85e9de9e818de0dcbc50b7b4242192eb6194855 (patch) | |
tree | 4e46fffc034ea985138adafcba9a0e7111c792da /drivers/usb/gadget/Kconfig | |
parent | d23b4c3ee2d5cbdeaec9f8e7d8a9bdcc73836fb9 (diff) | |
download | lwn-b85e9de9e818de0dcbc50b7b4242192eb6194855.tar.gz lwn-b85e9de9e818de0dcbc50b7b4242192eb6194855.zip |
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/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index c8a0784b8d5e..b51307805151 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -190,6 +190,9 @@ config USB_F_UAC2 config USB_F_UVC tristate +config USB_F_MIDI + tristate + choice tristate "USB Gadget Drivers" default USB_ETH |