Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207978
b: refs/heads/master
c: 7898aee
h: refs/heads/master
v: v3
  • Loading branch information
Michal Nazarewicz authored and Greg Kroah-Hartman committed Aug 10, 2010
1 parent 1191276 commit 19f67ed
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1dc90985d1b29275607ddac59555199e7894f633
refs/heads/master: 7898aee1dacbb246fee958f0a6102320b61768d9
6 changes: 3 additions & 3 deletions trunk/drivers/usb/gadget/f_fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1478,9 +1478,9 @@ static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count)
}


static int functionfs_add(struct usb_composite_dev *cdev,
struct usb_configuration *c,
struct ffs_data *ffs)
static int functionfs_bind_config(struct usb_composite_dev *cdev,
struct usb_configuration *c,
struct ffs_data *ffs)
{
struct ffs_function *func;
int ret;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/gadget/g_ffs.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ static int __gfs_do_config(struct usb_configuration *c,
return ret;
}

ret = functionfs_add(c->cdev, c, gfs_ffs_data);
ret = functionfs_bind_config(c->cdev, c, gfs_ffs_data);
if (unlikely(ret < 0))
return ret;

Expand Down
6 changes: 3 additions & 3 deletions trunk/include/linux/usb/functionfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ static int functionfs_bind(struct ffs_data *ffs, struct usb_composite_dev *cdev)
static void functionfs_unbind(struct ffs_data *ffs)
__attribute__((nonnull));

static int functionfs_add(struct usb_composite_dev *cdev,
struct usb_configuration *c,
struct ffs_data *ffs)
static int functionfs_bind_config(struct usb_composite_dev *cdev,
struct usb_configuration *c,
struct ffs_data *ffs)
__attribute__((warn_unused_result, nonnull));


Expand Down

0 comments on commit 19f67ed

Please sign in to comment.