aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pstore.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pstore.h')
-rw-r--r--include/linux/pstore.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/linux/pstore.h b/include/linux/pstore.h
index 8e7a25b068b0..831479f8df8f 100644
--- a/include/linux/pstore.h
+++ b/include/linux/pstore.h
@@ -75,20 +75,8 @@ struct pstore_info {
75 75
76#define PSTORE_FLAGS_FRAGILE 1 76#define PSTORE_FLAGS_FRAGILE 1
77 77
78#ifdef CONFIG_PSTORE
79extern int pstore_register(struct pstore_info *); 78extern int pstore_register(struct pstore_info *);
79extern void pstore_unregister(struct pstore_info *);
80extern bool pstore_cannot_block_path(enum kmsg_dump_reason reason); 80extern bool pstore_cannot_block_path(enum kmsg_dump_reason reason);
81#else
82static inline int
83pstore_register(struct pstore_info *psi)
84{
85 return -ENODEV;
86}
87static inline bool
88pstore_cannot_block_path(enum kmsg_dump_reason reason)
89{
90 return false;
91}
92#endif
93 81
94#endif /*_LINUX_PSTORE_H*/ 82#endif /*_LINUX_PSTORE_H*/