usb: gadget: rndis: fix broken data aggregation build
authorAmit Pundir <amit.pundir@linaro.org>
Mon, 21 Dec 2015 08:45:58 +0000 (14:15 +0530)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:17 +0000 (13:52 -0800)
commitbbc2ad37fd8757c6347d23d5310b5437b1b25ae9
tree3fa45783acdf84889c469c3ff7988a76105d0e41
parent561085a191a24e070c9eea369be47fcc97688e08
usb: gadget: rndis: fix broken data aggregation build

Declare "cdev" to fix broken AOSP commit
"RNDIS: Add Data aggregation (multi packet) support",
otherwise we run into following build failure:

  CC      drivers/usb/gadget/function/f_rndis.o
drivers/usb/gadget/function/f_rndis.c: In function ‘rndis_command_complete’:
drivers/usb/gadget/function/f_rndis.c:479:3: error: ‘cdev’ undeclared (first use in this function)
drivers/usb/gadget/function/f_rndis.c:479:3: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [drivers/usb/gadget/function/f_rndis.o] Error 1

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
drivers/usb/gadget/function/f_rndis.c