]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: f_mass_storage: create fsg_common_set_num_buffers for use in fsg_common_init
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Wed, 9 Oct 2013 08:05:55 +0000 (10:05 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 10 Oct 2013 15:21:48 +0000 (10:21 -0500)
commit6313caace5f5b4fd2c23b9bc40ea26f252a28bf9
tree9049255d6fc9513af94e4a54f206117437171b2b
parentb24650df9521f1845571568684621cefb0ba4e3b
usb: gadget: f_mass_storage: create fsg_common_set_num_buffers for use in fsg_common_init

fsg_common_init is a lengthy function. Factor a portion of it out.

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: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_mass_storage.c
drivers/usb/gadget/f_mass_storage.h