diff options
Diffstat (limited to 'include/linux/pstore.h')
-rw-r--r-- | include/linux/pstore.h | 14 |
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 | ||
79 | extern int pstore_register(struct pstore_info *); | 78 | extern int pstore_register(struct pstore_info *); |
79 | extern void pstore_unregister(struct pstore_info *); | ||
80 | extern bool pstore_cannot_block_path(enum kmsg_dump_reason reason); | 80 | extern bool pstore_cannot_block_path(enum kmsg_dump_reason reason); |
81 | #else | ||
82 | static inline int | ||
83 | pstore_register(struct pstore_info *psi) | ||
84 | { | ||
85 | return -ENODEV; | ||
86 | } | ||
87 | static inline bool | ||
88 | pstore_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*/ |