summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2014-07-22 19:58:38 +0200
committerFelipe Balbi <balbi@ti.com>2014-08-20 21:04:54 +0200
commitf3a3406b3f562f8d15b89979c0ca9e184b269084 (patch)
tree0cf9bc197f84683c8162a0005a6379738ddd9bb7 /drivers/usb/gadget/Kconfig
parentusb: gadget: f_uac1: prepare for separate compilation (diff)
downloadlinux-f3a3406b3f562f8d15b89979c0ca9e184b269084.tar.xz
linux-f3a3406b3f562f8d15b89979c0ca9e184b269084.zip
usb: gadget: f_uac1: convert to new function interface with backward compatibility
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>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r--drivers/usb/gadget/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index ea8ebce60d8f..68302aa604be 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_UAC1
+ tristate
+
config USB_F_UAC2
tristate