From: Felipe Balbi Date: Wed, 3 Apr 2013 18:01:44 +0000 (+0300) Subject: usb: gadget: nokia: include f_ecm.c X-Git-Tag: v3.10-rc1~190^2~63^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=9b192de60b5a584ee4ed967fb6758773c75e4643;p=~emulex%2Finfiniband.git 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 --- diff --git a/drivers/usb/gadget/nokia.c b/drivers/usb/gadget/nokia.c index eebdd0e0b1d..3b344b41a16 100644 --- a/drivers/usb/gadget/nokia.c +++ b/drivers/usb/gadget/nokia.c @@ -38,6 +38,7 @@ * a "gcc --combine ... part1.c part2.c part3.c ... " build would. */ #define USBF_OBEX_INCLUDED +#include "f_ecm.c" #include "f_obex.c" #include "f_phonet.c" #include "u_ether.c"