diff options
Diffstat (limited to 'include/linux/debugfs.h')
| -rw-r--r-- | include/linux/debugfs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index 7266124361b4..e1a6c046cea3 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h | |||
| @@ -26,6 +26,8 @@ struct debugfs_blob_wrapper { | |||
| 26 | unsigned long size; | 26 | unsigned long size; |
| 27 | }; | 27 | }; |
| 28 | 28 | ||
| 29 | extern struct dentry *arch_debugfs_dir; | ||
| 30 | |||
| 29 | #if defined(CONFIG_DEBUG_FS) | 31 | #if defined(CONFIG_DEBUG_FS) |
| 30 | 32 | ||
| 31 | /* declared over in file.c */ | 33 | /* declared over in file.c */ |
| @@ -42,6 +44,7 @@ struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, | |||
| 42 | const char *dest); | 44 | const char *dest); |
| 43 | 45 | ||
| 44 | void debugfs_remove(struct dentry *dentry); | 46 | void debugfs_remove(struct dentry *dentry); |
| 47 | void debugfs_remove_recursive(struct dentry *dentry); | ||
| 45 | 48 | ||
| 46 | struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, | 49 | struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, |
| 47 | struct dentry *new_dir, const char *new_name); | 50 | struct dentry *new_dir, const char *new_name); |
| @@ -99,6 +102,9 @@ static inline struct dentry *debugfs_create_symlink(const char *name, | |||
| 99 | static inline void debugfs_remove(struct dentry *dentry) | 102 | static inline void debugfs_remove(struct dentry *dentry) |
| 100 | { } | 103 | { } |
| 101 | 104 | ||
| 105 | static inline void debugfs_remove_recursive(struct dentry *dentry) | ||
| 106 | { } | ||
| 107 | |||
| 102 | static inline struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, | 108 | static inline struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, |
| 103 | struct dentry *new_dir, char *new_name) | 109 | struct dentry *new_dir, char *new_name) |
| 104 | { | 110 | { |
