summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/g_ffs.c
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-12-03 15:15:33 +0100
committerFelipe Balbi <balbi@ti.com>2013-12-12 13:43:39 -0600
commit5920cda627688c3229fd63157ff031f3f174175e (patch)
treeebdc858c1a54f56a23202f714999444f69b36cf1 /drivers/usb/gadget/g_ffs.c
parent4b187fceec3c731815ff8e6a7317fd5ba50d1d5d (diff)
downloadop-kernel-dev-5920cda627688c3229fd63157ff031f3f174175e.zip
op-kernel-dev-5920cda627688c3229fd63157ff031f3f174175e.tar.gz
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 'drivers/usb/gadget/g_ffs.c')
-rw-r--r--drivers/usb/gadget/g_ffs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/g_ffs.c b/drivers/usb/gadget/g_ffs.c
index 074df0d..ffde36f 100644
--- a/drivers/usb/gadget/g_ffs.c
+++ b/drivers/usb/gadget/g_ffs.c
@@ -54,6 +54,7 @@ static struct usb_function *f_rndis;
# endif
#endif
+#define USB_FFS_INCLUDED
#include "f_fs.c"
#define DRIVER_NAME "g_ffs"
OpenPOWER on IntegriCloud