mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
Pull pstore into release branch
This commit is contained in:
commit
3935bb949f
4 changed files with 58 additions and 20 deletions
|
|
@ -35,7 +35,9 @@ struct pstore_info {
|
|||
struct mutex buf_mutex; /* serialize access to 'buf' */
|
||||
char *buf;
|
||||
size_t bufsize;
|
||||
size_t (*read)(u64 *id, enum pstore_type_id *type,
|
||||
int (*open)(struct pstore_info *psi);
|
||||
int (*close)(struct pstore_info *psi);
|
||||
ssize_t (*read)(u64 *id, enum pstore_type_id *type,
|
||||
struct timespec *time);
|
||||
u64 (*write)(enum pstore_type_id type, size_t size);
|
||||
int (*erase)(u64 id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue