diff options
| author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2013-12-03 09:15:32 -0500 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2013-12-12 14:43:39 -0500 |
| commit | 4b187fceec3c731815ff8e6a7317fd5ba50d1d5d (patch) | |
| tree | 583fa76e4a4eab4513c38c3d05f85bc03de1f3c3 /include/linux/usb/functionfs.h | |
| parent | e72c39c0692d17da4c7f08e20d6c57f7409415f7 (diff) | |
usb: gadget: FunctionFS: add devices management code
This will be required in order to use the new function interface
(usb_get_function_instance/usb_put_function_instance)
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyunmgin Park <kyungmin.park@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/functionfs.h')
| -rw-r--r-- | include/linux/usb/functionfs.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/usb/functionfs.h b/include/linux/usb/functionfs.h index 65d0a88dbc67..9c1e92620dfb 100644 --- a/include/linux/usb/functionfs.h +++ b/include/linux/usb/functionfs.h | |||
| @@ -8,10 +8,6 @@ struct ffs_data; | |||
| 8 | struct usb_composite_dev; | 8 | struct usb_composite_dev; |
| 9 | struct usb_configuration; | 9 | struct usb_configuration; |
| 10 | 10 | ||
| 11 | |||
| 12 | static int functionfs_init(void) __attribute__((warn_unused_result)); | ||
| 13 | static void functionfs_cleanup(void); | ||
| 14 | |||
| 15 | static int functionfs_bind(struct ffs_data *ffs, struct usb_composite_dev *cdev) | 11 | static int functionfs_bind(struct ffs_data *ffs, struct usb_composite_dev *cdev) |
| 16 | __attribute__((warn_unused_result, nonnull)); | 12 | __attribute__((warn_unused_result, nonnull)); |
| 17 | static void functionfs_unbind(struct ffs_data *ffs) | 13 | static void functionfs_unbind(struct ffs_data *ffs) |
| @@ -23,14 +19,4 @@ static int functionfs_bind_config(struct usb_composite_dev *cdev, | |||
| 23 | __attribute__((warn_unused_result, nonnull)); | 19 | __attribute__((warn_unused_result, nonnull)); |
| 24 | 20 | ||
| 25 | 21 | ||
| 26 | static int functionfs_ready_callback(struct ffs_data *ffs) | ||
| 27 | __attribute__((warn_unused_result, nonnull)); | ||
| 28 | static void functionfs_closed_callback(struct ffs_data *ffs) | ||
| 29 | __attribute__((nonnull)); | ||
| 30 | static void *functionfs_acquire_dev_callback(const char *dev_name) | ||
| 31 | __attribute__((warn_unused_result, nonnull)); | ||
| 32 | static void functionfs_release_dev_callback(struct ffs_data *ffs_data) | ||
| 33 | __attribute__((nonnull)); | ||
| 34 | |||
| 35 | |||
| 36 | #endif | 22 | #endif |
