diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2012-05-14 17:51:52 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-14 20:25:44 +0400 |
commit | 581791f5c7a480b2cc3431af9a6e799ffd51eb5e (patch) | |
tree | 3284544e5a67e91ec612fc0a715cff66b250a283 /include/linux/usb/functionfs.h | |
parent | 304f0b2453ea377b8f987aa5f9e1ccda0e3adfa7 (diff) | |
download | linux-581791f5c7a480b2cc3431af9a6e799ffd51eb5e.tar.xz |
FunctionFS: enable multiple functions
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>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/functionfs.h')
-rw-r--r-- | include/linux/usb/functionfs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/usb/functionfs.h b/include/linux/usb/functionfs.h index 7587ef934ba8..a843d0851364 100644 --- a/include/linux/usb/functionfs.h +++ b/include/linux/usb/functionfs.h @@ -190,8 +190,10 @@ static int functionfs_ready_callback(struct ffs_data *ffs) __attribute__((warn_unused_result, nonnull)); static void functionfs_closed_callback(struct ffs_data *ffs) __attribute__((nonnull)); -static int functionfs_check_dev_callback(const char *dev_name) +static void *functionfs_acquire_dev_callback(const char *dev_name) __attribute__((warn_unused_result, nonnull)); +static void functionfs_release_dev_callback(struct ffs_data *ffs_data) + __attribute__((nonnull)); #endif |