]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit900ea8fac6e78c268bde119a3387d81e13473a75
tree22cde597c2832193970062ab27eb791604e7f989
parented3dcdf14840a7353d4b62eb5a51fa5e5a5323cd
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