diff options
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r-- | include/linux/debugfs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index 9beb636b97eb..19c066dce1da 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h | |||
@@ -79,6 +79,8 @@ struct dentry *debugfs_create_u32(const char *name, umode_t mode, | |||
79 | struct dentry *parent, u32 *value); | 79 | struct dentry *parent, u32 *value); |
80 | struct dentry *debugfs_create_u64(const char *name, umode_t mode, | 80 | struct dentry *debugfs_create_u64(const char *name, umode_t mode, |
81 | struct dentry *parent, u64 *value); | 81 | struct dentry *parent, u64 *value); |
82 | struct dentry *debugfs_create_ulong(const char *name, umode_t mode, | ||
83 | struct dentry *parent, unsigned long *value); | ||
82 | struct dentry *debugfs_create_x8(const char *name, umode_t mode, | 84 | struct dentry *debugfs_create_x8(const char *name, umode_t mode, |
83 | struct dentry *parent, u8 *value); | 85 | struct dentry *parent, u8 *value); |
84 | struct dentry *debugfs_create_x16(const char *name, umode_t mode, | 86 | struct dentry *debugfs_create_x16(const char *name, umode_t mode, |
@@ -92,7 +94,7 @@ struct dentry *debugfs_create_size_t(const char *name, umode_t mode, | |||
92 | struct dentry *debugfs_create_atomic_t(const char *name, umode_t mode, | 94 | struct dentry *debugfs_create_atomic_t(const char *name, umode_t mode, |
93 | struct dentry *parent, atomic_t *value); | 95 | struct dentry *parent, atomic_t *value); |
94 | struct dentry *debugfs_create_bool(const char *name, umode_t mode, | 96 | struct dentry *debugfs_create_bool(const char *name, umode_t mode, |
95 | struct dentry *parent, u32 *value); | 97 | struct dentry *parent, bool *value); |
96 | 98 | ||
97 | struct dentry *debugfs_create_blob(const char *name, umode_t mode, | 99 | struct dentry *debugfs_create_blob(const char *name, umode_t mode, |
98 | struct dentry *parent, | 100 | struct dentry *parent, |
@@ -243,7 +245,7 @@ static inline struct dentry *debugfs_create_atomic_t(const char *name, umode_t m | |||
243 | 245 | ||
244 | static inline struct dentry *debugfs_create_bool(const char *name, umode_t mode, | 246 | static inline struct dentry *debugfs_create_bool(const char *name, umode_t mode, |
245 | struct dentry *parent, | 247 | struct dentry *parent, |
246 | u32 *value) | 248 | bool *value) |
247 | { | 249 | { |
248 | return ERR_PTR(-ENODEV); | 250 | return ERR_PTR(-ENODEV); |
249 | } | 251 | } |