aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-04-03 14:01:44 -0400
committerFelipe Balbi <balbi@ti.com>2013-04-03 14:02:47 -0400
commit9b192de60b5a584ee4ed967fb6758773c75e4643 (patch)
tree9699cb0df8b18ec25325559e723ec25d5d099839
parentbb54542cfaac0e7949925b774b04b7ea069b80d1 (diff)
usb: gadget: nokia: include f_ecm.c
recent changes to gadget framework have exposed a flaw in nokia.c where it uses f_ecm.c but it wasn't including it like other gadget drivers. This is a temporary patch until all other function drivers are converted to new API where each function driver becomes a module and binding is done through configfs. Solves a linking error when building g_nokia.ko Signed-off-by: Felipe Balbi <balbi@ti.com>
-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 eebdd0e0b1d6..3b344b41a167 100644
--- a/drivers/usb/gadget/nokia.c
+++ b/drivers/usb/gadget/nokia.c
@@ -38,6 +38,7 @@
38 * a "gcc --combine ... part1.c part2.c part3.c ... " build would. 38 * a "gcc --combine ... part1.c part2.c part3.c ... " build would.
39 */ 39 */
40#define USBF_OBEX_INCLUDED 40#define USBF_OBEX_INCLUDED
41#include "f_ecm.c"
41#include "f_obex.c" 42#include "f_obex.c"
42#include "f_phonet.c" 43#include "f_phonet.c"
43#include "u_ether.c" 44#include "u_ether.c"