diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2013-03-21 15:33:42 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-04-03 13:43:35 +0200 |
commit | 1d8fc2518c1cddef0902b0a2c51946732a0982fc (patch) | |
tree | 82c5c070b7fc699c7f1dad0de2ef37b000357ab9 /drivers/usb/gadget/nokia.c | |
parent | usb: gadget: f_serial: add configfs support (diff) | |
download | linux-1d8fc2518c1cddef0902b0a2c51946732a0982fc.tar.xz linux-1d8fc2518c1cddef0902b0a2c51946732a0982fc.zip |
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/nokia.c')
-rw-r--r-- | drivers/usb/gadget/nokia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/nokia.c b/drivers/usb/gadget/nokia.c index f829a80f27f6..eebdd0e0b1d6 100644 --- a/drivers/usb/gadget/nokia.c +++ b/drivers/usb/gadget/nokia.c @@ -37,7 +37,7 @@ * the runtime footprint, and giving us at least some parts of what * a "gcc --combine ... part1.c part2.c part3.c ... " build would. */ -#include "f_ecm.c" +#define USBF_OBEX_INCLUDED #include "f_obex.c" #include "f_phonet.c" #include "u_ether.c" |