diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/efi.h | 1 | ||||
| -rw-r--r-- | include/linux/pstore.h | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 8670eb1eb8cd..c47ec36f3f39 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
| @@ -643,6 +643,7 @@ struct efivar_operations { | |||
| 643 | efi_get_variable_t *get_variable; | 643 | efi_get_variable_t *get_variable; |
| 644 | efi_get_next_variable_t *get_next_variable; | 644 | efi_get_next_variable_t *get_next_variable; |
| 645 | efi_set_variable_t *set_variable; | 645 | efi_set_variable_t *set_variable; |
| 646 | efi_query_variable_info_t *query_variable_info; | ||
| 646 | }; | 647 | }; |
| 647 | 648 | ||
| 648 | struct efivars { | 649 | struct efivars { |
diff --git a/include/linux/pstore.h b/include/linux/pstore.h index ee3034a40884..1788909d9a99 100644 --- a/include/linux/pstore.h +++ b/include/linux/pstore.h | |||
| @@ -50,16 +50,18 @@ struct pstore_info { | |||
| 50 | int (*open)(struct pstore_info *psi); | 50 | int (*open)(struct pstore_info *psi); |
| 51 | int (*close)(struct pstore_info *psi); | 51 | int (*close)(struct pstore_info *psi); |
| 52 | ssize_t (*read)(u64 *id, enum pstore_type_id *type, | 52 | ssize_t (*read)(u64 *id, enum pstore_type_id *type, |
| 53 | struct timespec *time, char **buf, | 53 | int *count, struct timespec *time, char **buf, |
| 54 | struct pstore_info *psi); | 54 | struct pstore_info *psi); |
| 55 | int (*write)(enum pstore_type_id type, | 55 | int (*write)(enum pstore_type_id type, |
| 56 | enum kmsg_dump_reason reason, u64 *id, | 56 | enum kmsg_dump_reason reason, u64 *id, |
| 57 | unsigned int part, size_t size, struct pstore_info *psi); | 57 | unsigned int part, int count, size_t size, |
| 58 | struct pstore_info *psi); | ||
| 58 | int (*write_buf)(enum pstore_type_id type, | 59 | int (*write_buf)(enum pstore_type_id type, |
| 59 | enum kmsg_dump_reason reason, u64 *id, | 60 | enum kmsg_dump_reason reason, u64 *id, |
| 60 | unsigned int part, const char *buf, size_t size, | 61 | unsigned int part, const char *buf, size_t size, |
| 61 | struct pstore_info *psi); | 62 | struct pstore_info *psi); |
| 62 | int (*erase)(enum pstore_type_id type, u64 id, | 63 | int (*erase)(enum pstore_type_id type, u64 id, |
| 64 | int count, struct timespec time, | ||
| 63 | struct pstore_info *psi); | 65 | struct pstore_info *psi); |
| 64 | void *data; | 66 | void *data; |
| 65 | }; | 67 | }; |
