usb: gadget: pxa27x: fix gadget->dev registration
authorFelipe Balbi <balbi@ti.com>
Mon, 25 Feb 2013 06:49:05 +0000 (08:49 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 4 Mar 2013 07:33:26 +0000 (09:33 +0200)
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 <robert.jarzmik@free.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found