aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/functionfs.h
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2012-05-14 15:51:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-14 09:25:44 -0700
commit581791f5c7a480b2cc3431af9a6e799ffd51eb5e (patch)
tree3284544e5a67e91ec612fc0a715cff66b250a283 /include/linux/usb/functionfs.h
parentRevert "usb: add struct usb_hub_port to store port related members." (diff)
downloadlinux-dev-581791f5c7a480b2cc3431af9a6e799ffd51eb5e.tar.xz
linux-dev-581791f5c7a480b2cc3431af9a6e799ffd51eb5e.zip
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.h4
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