From: Sebastian Andrzej Siewior Date: Thu, 6 Sep 2012 18:11:11 +0000 (+0200) Subject: usb: gadget: move global vars from epautoconf into struct usb_gadget X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~73^2~141^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e87bb7118c4f752de4616a7ab56c51ed3e7f6f53;p=pandora-kernel.git 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 Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed