diff options
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r-- | include/linux/debugfs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index ae36b72c22f3..66c434f5dd1e 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h | |||
@@ -93,6 +93,10 @@ struct dentry *debugfs_create_regset32(const char *name, umode_t mode, | |||
93 | int debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs, | 93 | int debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs, |
94 | int nregs, void __iomem *base, char *prefix); | 94 | int nregs, void __iomem *base, char *prefix); |
95 | 95 | ||
96 | struct dentry *debugfs_create_u32_array(const char *name, umode_t mode, | ||
97 | struct dentry *parent, | ||
98 | u32 *array, u32 elements); | ||
99 | |||
96 | bool debugfs_initialized(void); | 100 | bool debugfs_initialized(void); |
97 | 101 | ||
98 | #else | 102 | #else |
@@ -219,6 +223,13 @@ static inline bool debugfs_initialized(void) | |||
219 | return false; | 223 | return false; |
220 | } | 224 | } |
221 | 225 | ||
226 | static inline struct dentry *debugfs_create_u32_array(const char *name, umode_t mode, | ||
227 | struct dentry *parent, | ||
228 | u32 *array, u32 elements) | ||
229 | { | ||
230 | return ERR_PTR(-ENODEV); | ||
231 | } | ||
232 | |||
222 | #endif | 233 | #endif |
223 | 234 | ||
224 | #endif | 235 | #endif |