diff options
author | Michal Nazarewicz <m.nazarewicz@samsung.com> | 2010-06-16 06:07:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 17:35:36 -0400 |
commit | 1dc90985d1b29275607ddac59555199e7894f633 (patch) | |
tree | fdcc51074c894d7f8cfc37113c30e13fdd496e64 /drivers/usb/gadget/multi.c | |
parent | 26eca10e6ef64e15f250523a1e7e94ad40ac2bf8 (diff) |
USB: gadget: f_mass_storage: fsg_add() renamed to fsg_bind_config()
Mass Storage Function had a bit unique name for function
used to add it to USB configuration. Renamed as to match
naming convention of other functions.
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/multi.c')
-rw-r--r-- | drivers/usb/gadget/multi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/multi.c b/drivers/usb/gadget/multi.c index a930d7fd7e7a..d3d314033022 100644 --- a/drivers/usb/gadget/multi.c +++ b/drivers/usb/gadget/multi.c | |||
@@ -172,7 +172,7 @@ static int __init rndis_do_config(struct usb_configuration *c) | |||
172 | if (ret < 0) | 172 | if (ret < 0) |
173 | return ret; | 173 | return ret; |
174 | 174 | ||
175 | ret = fsg_add(c->cdev, c, fsg_common); | 175 | ret = fsg_bind_config(c->cdev, c, fsg_common); |
176 | if (ret < 0) | 176 | if (ret < 0) |
177 | return ret; | 177 | return ret; |
178 | 178 | ||
@@ -208,7 +208,7 @@ static int __init cdc_do_config(struct usb_configuration *c) | |||
208 | if (ret < 0) | 208 | if (ret < 0) |
209 | return ret; | 209 | return ret; |
210 | 210 | ||
211 | ret = fsg_add(c->cdev, c, fsg_common); | 211 | ret = fsg_bind_config(c->cdev, c, fsg_common); |
212 | if (ret < 0) | 212 | if (ret < 0) |
213 | return ret; | 213 | return ret; |
214 | 214 | ||