From: Felipe Balbi Date: Mon, 25 Feb 2013 06:49:05 +0000 (+0200) Subject: usb: gadget: pxa27x: fix gadget->dev registration X-Git-Tag: v3.9-rc3~17^2~19^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe2a4297b40c0ccee0e2276b06fb0afe1fc63da4;p=pandora-kernel.git usb: gadget: pxa27x: fix gadget->dev registration Whenever ->udc_start() gets called, gadget driver has already being bound to the udc controller, which means that gadget->dev had to be already initialized and added to driver model. This patch fixes pxa27x mistake. Tested-by: Robert Jarzmik Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed