diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-07-12 07:10:18 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-07-12 07:10:18 +0200 |
commit | cab56acd98643d7cf08ab992cbb0557b4c2488f7 (patch) | |
tree | 404123ae35e715a6d2682795fad2632f9abe3d5f /include/linux | |
parent | ca1c1456a16ee50f60f53e4efda04b310372a9b7 (diff) | |
parent | 5b1bc2224cff7deb2f1e048bb82a60d857f642be (diff) | |
download | barebox-cab56acd98643d7cf08ab992cbb0557b4c2488f7.tar.gz barebox-cab56acd98643d7cf08ab992cbb0557b4c2488f7.tar.xz |
Merge branch 'for-next/pstore'
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/pstore.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/pstore.h b/include/linux/pstore.h index 15e1e3d6fa..f598f31a54 100644 --- a/include/linux/pstore.h +++ b/include/linux/pstore.h @@ -64,8 +64,6 @@ struct pstore_record { struct pstore_info { struct module *owner; char *name; - char *buf; - size_t bufsize; int flags; int (*open)(struct pstore_info *psi); int (*close)(struct pstore_info *psi); @@ -85,6 +83,7 @@ struct pstore_info { #ifdef CONFIG_FS_PSTORE extern int pstore_register(struct pstore_info *); extern bool pstore_cannot_block_path(enum kmsg_dump_reason reason); +extern void pstore_log(const char *msg); #else static inline int pstore_register(struct pstore_info *psi) @@ -96,6 +95,9 @@ pstore_cannot_block_path(enum kmsg_dump_reason reason) { return false; } +static inline void pstore_log(const char *msg) +{ +} #endif #endif /*_LINUX_PSTORE_H*/ |