summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-03-21 15:33:42 +0100
committerFelipe Balbi <balbi@ti.com>2013-04-03 14:43:35 +0300
commit1d8fc2518c1cddef0902b0a2c51946732a0982fc (patch)
tree82c5c070b7fc699c7f1dad0de2ef37b000357ab9 /drivers/usb/gadget/Kconfig
parent0b6a1e6ff7e62a1ab5a8924bffb12c17c183308a (diff)
downloadop-kernel-dev-1d8fc2518c1cddef0902b0a2c51946732a0982fc.zip
op-kernel-dev-1d8fc2518c1cddef0902b0a2c51946732a0982fc.tar.gz
usb: gadget: f_obex: convert to new function interface with backward compatibility
Converting f_obex to the new function interface requires converting the f_obex's function code and its users. This patch converts the f_obex.c to the new function interface. The file is now compiled into a separate usb_f_obex.ko module. The old function interface is provided by means of 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: Kyungmin Park <kyungmin.park@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 93217fc..a5f67e1 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -508,6 +508,9 @@ config USB_U_SERIAL
config USB_F_SERIAL
tristate
+config USB_F_OBEX
+ tristate
+
choice
tristate "USB Gadget Drivers"
default USB_ETH
OpenPOWER on IntegriCloud