summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/zero.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-09-06 20:11:11 +0200
committerFelipe Balbi <balbi@ti.com>2012-09-10 14:37:08 +0200
commite87bb7118c4f752de4616a7ab56c51ed3e7f6f53 (patch)
treea21a44d5b7a703cad5595621ced7a24a289c87dc /drivers/usb/gadget/zero.c
parentusb: gadget: libcomposite: move config.c into libcomposite (diff)
downloadlinux-e87bb7118c4f752de4616a7ab56c51ed3e7f6f53.tar.xz
linux-e87bb7118c4f752de4616a7ab56c51ed3e7f6f53.zip
usb: gadget: move global vars from epautoconf into struct usb_gadget
epautoconf has two global variables which count the endpoint number of last assigned endpoint. This patch removes the global variable and keeps it as per (UDC) gadget. While here, the ifdef is removed and now the in and outpoint are enumerated unconditionally. The dwc3 for instance supports 32 endpoints in total. Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/zero.c')
0 files changed, 0 insertions, 0 deletions