aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/f_fs.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <m.nazarewicz@samsung.com>2010-06-16 06:07:58 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 17:35:36 -0400
commit7898aee1dacbb246fee958f0a6102320b61768d9 (patch)
tree36243fdd64df23ab0112daf95a41c62efd5d5b39 /drivers/usb/gadget/f_fs.c
parent1dc90985d1b29275607ddac59555199e7894f633 (diff)
USB: gadget: f_fs: functionfs_add() renamed to functionfs_bind_config()
FunctionFS 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/f_fs.c')
-rw-r--r--drivers/usb/gadget/f_fs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index c51c21314076..282b49e336be 100644
--- a/drivers/usb/gadget/f_fs.c
+++ b/drivers/usb/gadget/f_fs.c
@@ -1478,9 +1478,9 @@ static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count)
1478} 1478}
1479 1479
1480 1480
1481static int functionfs_add(struct usb_composite_dev *cdev, 1481static int functionfs_bind_config(struct usb_composite_dev *cdev,
1482 struct usb_configuration *c, 1482 struct usb_configuration *c,
1483 struct ffs_data *ffs) 1483 struct ffs_data *ffs)
1484{ 1484{
1485 struct ffs_function *func; 1485 struct ffs_function *func;
1486 int ret; 1486 int ret;