diff options
Diffstat (limited to 'include/linux/pstore.h')
-rw-r--r-- | include/linux/pstore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/pstore.h b/include/linux/pstore.h index 1bd014b8e432..b107484192fc 100644 --- a/include/linux/pstore.h +++ b/include/linux/pstore.h | |||
@@ -48,6 +48,10 @@ struct pstore_info { | |||
48 | int (*write)(enum pstore_type_id type, | 48 | int (*write)(enum pstore_type_id type, |
49 | enum kmsg_dump_reason reason, u64 *id, | 49 | enum kmsg_dump_reason reason, u64 *id, |
50 | unsigned int part, size_t size, struct pstore_info *psi); | 50 | unsigned int part, size_t size, struct pstore_info *psi); |
51 | int (*write_buf)(enum pstore_type_id type, | ||
52 | enum kmsg_dump_reason reason, u64 *id, | ||
53 | unsigned int part, const char *buf, size_t size, | ||
54 | struct pstore_info *psi); | ||
51 | int (*erase)(enum pstore_type_id type, u64 id, | 55 | int (*erase)(enum pstore_type_id type, u64 id, |
52 | struct pstore_info *psi); | 56 | struct pstore_info *psi); |
53 | void *data; | 57 | void *data; |