USB: Gadget: Reorder driver name assignment
authorJassi Brar <jassi.brar@samsung.com>
Sun, 6 Feb 2011 09:47:18 +0000 (18:47 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 18:41:46 +0000 (10:41 -0800)
commit05c3eebd50ad831c462ec264f82a87654d0ee974
tree22cde597c2832193970062ab27eb791604e7f989
parentff085de758ebcb2309dd013fecb7cbb3cb6c7a43
USB: Gadget: Reorder driver name assignment

Reorder the driver->name assignment so the 'iProduct' could be initialized
as well if both 'name' and 'iProduct' come as NULL by default.

Also, remove the misplaced 'extern' keyword.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/composite.c