diff options
-rw-r--r-- | include/linux/debugfs.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index aa86e6d8c1aa..b93efc8feecd 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h | |||
@@ -196,6 +196,14 @@ static inline struct dentry *debugfs_create_file(const char *name, umode_t mode, | |||
196 | return ERR_PTR(-ENODEV); | 196 | return ERR_PTR(-ENODEV); |
197 | } | 197 | } |
198 | 198 | ||
199 | static inline struct dentry *debugfs_create_file_unsafe(const char *name, | ||
200 | umode_t mode, struct dentry *parent, | ||
201 | void *data, | ||
202 | const struct file_operations *fops) | ||
203 | { | ||
204 | return ERR_PTR(-ENODEV); | ||
205 | } | ||
206 | |||
199 | static inline struct dentry *debugfs_create_file_size(const char *name, umode_t mode, | 207 | static inline struct dentry *debugfs_create_file_size(const char *name, umode_t mode, |
200 | struct dentry *parent, void *data, | 208 | struct dentry *parent, void *data, |
201 | const struct file_operations *fops, | 209 | const struct file_operations *fops, |
@@ -289,6 +297,14 @@ static inline struct dentry *debugfs_create_u64(const char *name, umode_t mode, | |||
289 | return ERR_PTR(-ENODEV); | 297 | return ERR_PTR(-ENODEV); |
290 | } | 298 | } |
291 | 299 | ||
300 | static inline struct dentry *debugfs_create_ulong(const char *name, | ||
301 | umode_t mode, | ||
302 | struct dentry *parent, | ||
303 | unsigned long *value) | ||
304 | { | ||
305 | return ERR_PTR(-ENODEV); | ||
306 | } | ||
307 | |||
292 | static inline struct dentry *debugfs_create_x8(const char *name, umode_t mode, | 308 | static inline struct dentry *debugfs_create_x8(const char *name, umode_t mode, |
293 | struct dentry *parent, | 309 | struct dentry *parent, |
294 | u8 *value) | 310 | u8 *value) |