USB: gadget: file_storage: serial parameter even if not test mode
authorMichal Nazarewicz <m.nazarewicz@samsung.com>
Thu, 22 Jul 2010 12:16:37 +0000 (14:16 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:43 +0000 (14:35 -0700)
commit567064916e4fe32af81b89e473a1e4f40c64b27b
treefd9c666f5c3f741f6f2e7ef32ebeda3b705b2552
parent9a4b7c3b14905a191da09980b9da966be5fc7fa2
USB: gadget: file_storage: serial parameter even if not test mode

Moved the serial parameter handling code out of "#ifdef
CONFIG_USB_FILE_STORAGE_TEST".

This modifies Yann Cantin's commit "USB: Add a serial number
parameter to g_file_storage" module as per Alan Stern's request.

Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Anand Gadiyar <gadiyar@ti.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Yann Cantin <yann.cantin@laposte.net>
drivers/usb/gadget/file_storage.c