summaryrefslogtreecommitdiff
path: root/include/linux/usb
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-12-03 18:15:33 +0400
committerFelipe Balbi <balbi@ti.com>2013-12-12 23:43:39 +0400
commit5920cda627688c3229fd63157ff031f3f174175e (patch)
treeebdc858c1a54f56a23202f714999444f69b36cf1 /include/linux/usb
parent4b187fceec3c731815ff8e6a7317fd5ba50d1d5d (diff)
downloadlinux-5920cda627688c3229fd63157ff031f3f174175e.tar.xz
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.h2
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 @@
#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