diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2013-12-03 09:15:33 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-12-12 14:43:39 -0500 |
commit | 5920cda627688c3229fd63157ff031f3f174175e (patch) | |
tree | ebdc858c1a54f56a23202f714999444f69b36cf1 /include/linux/usb | |
parent | 4b187fceec3c731815ff8e6a7317fd5ba50d1d5d (diff) |
usb: gadget: FunctionFS: convert to new function interface with backward compatibility
This is required in order to integrate configfs support.
f_fs needs to be a separately compiled module and so it needs to use the new
interface.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/functionfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/functionfs.h b/include/linux/usb/functionfs.h index 9c1e92620dfb..3448efbe56aa 100644 --- a/include/linux/usb/functionfs.h +++ b/include/linux/usb/functionfs.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <uapi/linux/usb/functionfs.h> | 4 | #include <uapi/linux/usb/functionfs.h> |
5 | 5 | ||
6 | #ifdef USB_FFS_INCLUDED | ||
6 | 7 | ||
7 | struct ffs_data; | 8 | struct ffs_data; |
8 | struct usb_composite_dev; | 9 | struct usb_composite_dev; |
@@ -20,3 +21,4 @@ static int functionfs_bind_config(struct usb_composite_dev *cdev, | |||
20 | 21 | ||
21 | 22 | ||
22 | #endif | 23 | #endif |
24 | #endif | ||