usb: gadget: u_serial: Allow calling gserial_setup after init
authorBenoit Goby <benoit@android.com>
Thu, 10 May 2012 08:08:01 +0000 (10:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 May 2012 19:26:17 +0000 (12:26 -0700)
commitc3c04b2945eccd8cdc07bbede3090c18dfed43c0
tree1068ef2f091fb89aa3664f94b92168ec4897a023
parentcad4cd8fbde6b2f45b51711260343b3195615c79
usb: gadget: u_serial: Allow calling gserial_setup after init

Remove geserial_setup from the init section. The android gadget
driver calls it after probe, after userspace has configured the
gadget driver.

Signed-off-by: Benoit Goby <benoit@android.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/u_serial.c