diff options
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/f_fs.c | 6 | ||||
-rw-r--r-- | drivers/usb/gadget/g_ffs.c | 2 |
2 files changed, 4 insertions, 4 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 | ||
1481 | static int functionfs_add(struct usb_composite_dev *cdev, | 1481 | static 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; |
diff --git a/drivers/usb/gadget/g_ffs.c b/drivers/usb/gadget/g_ffs.c index d1af253a9105..da3a9e403497 100644 --- a/drivers/usb/gadget/g_ffs.c +++ b/drivers/usb/gadget/g_ffs.c | |||
@@ -388,7 +388,7 @@ static int __gfs_do_config(struct usb_configuration *c, | |||
388 | return ret; | 388 | return ret; |
389 | } | 389 | } |
390 | 390 | ||
391 | ret = functionfs_add(c->cdev, c, gfs_ffs_data); | 391 | ret = functionfs_bind_config(c->cdev, c, gfs_ffs_data); |
392 | if (unlikely(ret < 0)) | 392 | if (unlikely(ret < 0)) |
393 | return ret; | 393 | return ret; |
394 | 394 | ||