diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2012-05-14 13:51:52 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-14 16:25:44 (GMT) |
commit | 581791f5c7a480b2cc3431af9a6e799ffd51eb5e (patch) | |
tree | 3284544e5a67e91ec612fc0a715cff66b250a283 /include/linux/usb/functionfs.h | |
parent | 304f0b2453ea377b8f987aa5f9e1ccda0e3adfa7 (diff) | |
download | linux-fsl-qoriq-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 7587ef9..a843d08 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 |