aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/nokia.c
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-05-23 10:51:11 +0200
committerFelipe Balbi <balbi@ti.com>2013-06-10 17:31:07 +0300
commitfcbdf12ebef73a6069e2a1aada1e546fb578a4aa (patch)
treeb1386327eb8ab8a5ec70dee85c29a38108c9a196 /drivers/usb/gadget/nokia.c
parentusb: gadget: phonet: move global dev variable to its user (diff)
downloadlinux-dev-fcbdf12ebef73a6069e2a1aada1e546fb578a4aa.tar.xz
linux-dev-fcbdf12ebef73a6069e2a1aada1e546fb578a4aa.zip
usb: gadget: f_phonet: convert to new function interface with backward compatibility
Converting f_phonet to the new function interface requires converting the f_phonet's function code and its users. This patch converts the f_phonet.c to the new function interface. The file is now compiled into a separate usb_f_phonet.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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/nokia.c b/drivers/usb/gadget/nokia.c
index 5650ece3e09c..a20bcbfe4a6e 100644
--- a/drivers/usb/gadget/nokia.c
+++ b/drivers/usb/gadget/nokia.c
@@ -40,6 +40,7 @@
*/
#define USBF_ECM_INCLUDED
#include "f_ecm.c"
+#define USBF_PHONET_INCLUDED
#include "f_phonet.c"
#include "u_ether.h"