#define GFS_MAX_DEVS   10
 
-struct gfs_ffs_obj {
-       const char *name;
-       bool mounted;
-       bool desc_ready;
-       struct ffs_data *ffs_data;
-};
-
 USB_GADGET_COMPOSITE_OPTIONS();
 
 static struct usb_device_descriptor gfs_dev_desc = {
 static unsigned int missing_funcs;
 static bool gfs_registered;
 static bool gfs_single_func;
-static struct gfs_ffs_obj *ffs_tab;
+static struct ffs_dev *ffs_tab;
 
 static int __init gfs_init(void)
 {
 }
 module_exit(gfs_exit);
 
-static struct gfs_ffs_obj *gfs_find_dev(const char *dev_name)
+static struct ffs_dev *gfs_find_dev(const char *dev_name)
 {
        int i;
 
 
 static int functionfs_ready_callback(struct ffs_data *ffs)
 {
-       struct gfs_ffs_obj *ffs_obj;
+       struct ffs_dev *ffs_obj;
        int ret;
 
        ENTER();
 
 static void functionfs_closed_callback(struct ffs_data *ffs)
 {
-       struct gfs_ffs_obj *ffs_obj;
+       struct ffs_dev *ffs_obj;
 
        ENTER();
        mutex_lock(&gfs_lock);
 
 static void *functionfs_acquire_dev_callback(const char *dev_name)
 {
-       struct gfs_ffs_obj *ffs_dev;
+       struct ffs_dev *ffs_dev;
 
        ENTER();
        mutex_lock(&gfs_lock);
 
 static void functionfs_release_dev_callback(struct ffs_data *ffs_data)
 {
-       struct gfs_ffs_obj *ffs_dev;
+       struct ffs_dev *ffs_dev;
 
        ENTER();
        mutex_lock(&gfs_lock);
 
--- /dev/null
+/*
+ * u_fs.h
+ *
+ * Utility definitions for the FunctionFS
+ *
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *             http://www.samsung.com
+ *
+ * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef U_FFS_H
+#define U_FFS_H
+
+#include <linux/usb/composite.h>
+
+struct ffs_dev {
+       const char *name;
+       bool mounted;
+       bool desc_ready;
+       struct ffs_data *ffs_data;
+};
+
+#endif /* U_FFS_H */