diff options
Diffstat (limited to 'include/linux/debugfs.h')
| -rw-r--r-- | include/linux/debugfs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index 9fa0983d1aa8..5a9c49534d08 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h | |||
| @@ -44,6 +44,8 @@ struct dentry *debugfs_create_u16(const char *name, mode_t mode, | |||
| 44 | struct dentry *parent, u16 *value); | 44 | struct dentry *parent, u16 *value); |
| 45 | struct dentry *debugfs_create_u32(const char *name, mode_t mode, | 45 | struct dentry *debugfs_create_u32(const char *name, mode_t mode, |
| 46 | struct dentry *parent, u32 *value); | 46 | struct dentry *parent, u32 *value); |
| 47 | struct dentry *debugfs_create_u64(const char *name, mode_t mode, | ||
| 48 | struct dentry *parent, u64 *value); | ||
| 47 | struct dentry *debugfs_create_bool(const char *name, mode_t mode, | 49 | struct dentry *debugfs_create_bool(const char *name, mode_t mode, |
| 48 | struct dentry *parent, u32 *value); | 50 | struct dentry *parent, u32 *value); |
| 49 | 51 | ||
| @@ -104,6 +106,13 @@ static inline struct dentry *debugfs_create_u32(const char *name, mode_t mode, | |||
| 104 | return ERR_PTR(-ENODEV); | 106 | return ERR_PTR(-ENODEV); |
| 105 | } | 107 | } |
| 106 | 108 | ||
| 109 | static inline struct dentry *debugfs_create_u64(const char *name, mode_t mode, | ||
| 110 | struct dentry *parent, | ||
| 111 | u64 *value) | ||
| 112 | { | ||
| 113 | return ERR_PTR(-ENODEV); | ||
| 114 | } | ||
| 115 | |||
| 107 | static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode, | 116 | static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode, |
| 108 | struct dentry *parent, | 117 | struct dentry *parent, |
| 109 | u32 *value) | 118 | u32 *value) |
