diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-10-18 22:43:19 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-18 10:14:39 -0700 |
commit | c23fe83138ed7b11ad763cbe8bf98e5378c04bd6 (patch) | |
tree | 488ddc0d4d00091a2565cdaea70b17bd1611180b /include/linux/debugfs.h | |
parent | 56f2de81e020c537f7e35550d13840143cb765cd (diff) | |
download | op-kernel-dev-c23fe83138ed7b11ad763cbe8bf98e5378c04bd6.zip op-kernel-dev-c23fe83138ed7b11ad763cbe8bf98e5378c04bd6.tar.gz |
debugfs: Add debugfs_create_ulong()
Add debugfs_create_ulong() for the users of type 'unsigned long'. These
will be 32 bits long on a 32 bit machine and 64 bits long on a 64 bit
machine.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r-- | include/linux/debugfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index 8321fe3..19c066d 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, struct dentry *parent, u32 *value); struct dentry *debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, u64 *value); +struct dentry *debugfs_create_ulong(const char *name, umode_t mode, + struct dentry *parent, unsigned long *value); struct dentry *debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, u8 *value); struct dentry *debugfs_create_x16(const char *name, umode_t mode, |