]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: gadget: f_obex: convert to new function interface with backward compatibility
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Thu, 21 Mar 2013 14:33:42 +0000 (15:33 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 3 Apr 2013 11:43:35 +0000 (14:43 +0300)
commit1d8fc2518c1cddef0902b0a2c51946732a0982fc
tree82c5c070b7fc699c7f1dad0de2ef37b000357ab9
parent0b6a1e6ff7e62a1ab5a8924bffb12c17c183308a
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>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/Makefile
drivers/usb/gadget/f_obex.c
drivers/usb/gadget/nokia.c
drivers/usb/gadget/serial.c