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>
This commit is contained in:
Andrzej Pietrasiewicz
2013-12-03 15:15:33 +01:00
committed by Felipe Balbi
parent 4b187fceec
commit 5920cda627
6 changed files with 435 additions and 209 deletions

View File

@@ -3,6 +3,7 @@
#include <uapi/linux/usb/functionfs.h>
#ifdef USB_FFS_INCLUDED
struct ffs_data;
struct usb_composite_dev;
@@ -20,3 +21,4 @@ static int functionfs_bind_config(struct usb_composite_dev *cdev,
#endif
#endif