diff options
author | Tony Luck <tony.luck@intel.com> | 2011-05-20 10:34:50 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2011-05-20 10:34:50 -0700 |
commit | 3935bb949f360b5c8fbf7da268deb81d225d7b93 (patch) | |
tree | 26909a230ab28410720c845e834be8552b831d4c /include | |
parent | 61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf (diff) | |
parent | 5d2a8342f64e93c217fcbf3206ec9ae770b1413d (diff) |
Pull pstore into release branch
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pstore.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/pstore.h b/include/linux/pstore.h index 41977737bb7d..2455ef2683f0 100644 --- a/include/linux/pstore.h +++ b/include/linux/pstore.h @@ -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); |