diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2014-07-22 19:58:30 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-08-20 21:04:16 +0200 |
commit | f8f93d244afad804e09595fcb14320fe2896fef5 (patch) | |
tree | bb6e0e0aca769fa559481cc10f84c24a98cfebc7 /drivers/usb/gadget/Kconfig | |
parent | usb: gadget: audio: Use container_of to free audio_dev (diff) | |
download | linux-f8f93d244afad804e09595fcb14320fe2896fef5.tar.xz linux-f8f93d244afad804e09595fcb14320fe2896fef5.zip |
usb: gadget: f_uac2: convert to new function interface with backward compatibility
Converting uac2 to the new function interface requires converting
the USB uac2's function code and its users.
This patch converts the f_uac2.c to the new function interface.
The file is now compiled into a separate usb_f_uac2.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>
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 5c822afb6d70..ea8ebce60d8f 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -181,6 +181,9 @@ config USB_F_MASS_STORAGE config USB_F_FS tristate +config USB_F_UAC2 + tristate + choice tristate "USB Gadget Drivers" default USB_ETH |