forked from PeterCxy/android_kernel_oneplus_sm8150
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: gadget: FunctionFS: create utility file
A header file to be used by f_fs.c and g_ffs.c will be required when f_fs.c is converted into a module. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
- Loading branch information
Andrzej Pietrasiewicz
authored and
Felipe Balbi
committed
Dec 12, 2013
1 parent
e6f3862
commit e72c39c
Showing
3 changed files
with
35 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* 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 */ |