From: Sebastian Andrzej Siewior Date: Fri, 7 Sep 2012 07:53:17 +0000 (+0200) Subject: usb: gadget: remove global variable composite in composite.c X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~73^2~141^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffe0b335062505a98d7296dae2c2a197713f87e0;p=pandora-kernel.git usb: gadget: remove global variable composite in composite.c This patch removes the global variable composite in composite.c. The private data which was saved there is now passed via an additional argument to the bind() function in struct usb_gadget_driver. Only the "old-style" UDC drivers have to be touched here, new style are doing it right because this change is made in udc-core. Acked-by: Michal Nazarewicz Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed