aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/debugfs.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-04 10:00:16 -0400
committerTakashi Iwai <tiwai@suse.de>2009-05-04 10:00:16 -0400
commit3a20ac2c52b1317f5a5f0bd9cd3cbe8495ddd026 (patch)
tree9a912f2609cefb9698b5cce09cd240bd6dbd09fb /include/linux/debugfs.h
parent18cc8d8d9b74c446832336d8f6e1afb145f9431b (diff)
parent3e5b50165fd0be080044586f43fcdd460ed27610 (diff)
Merge branch 'fix/pcm-jiffies-check' into fix/asoc
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r--include/linux/debugfs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
index 23936b16426b..eb5c2ba2f81a 100644
--- a/include/linux/debugfs.h
+++ b/include/linux/debugfs.h
@@ -71,6 +71,9 @@ struct dentry *debugfs_create_bool(const char *name, mode_t mode,
71struct dentry *debugfs_create_blob(const char *name, mode_t mode, 71struct dentry *debugfs_create_blob(const char *name, mode_t mode,
72 struct dentry *parent, 72 struct dentry *parent,
73 struct debugfs_blob_wrapper *blob); 73 struct debugfs_blob_wrapper *blob);
74
75bool debugfs_initialized(void);
76
74#else 77#else
75 78
76#include <linux/err.h> 79#include <linux/err.h>
@@ -162,6 +165,13 @@ static inline struct dentry *debugfs_create_x32(const char *name, mode_t mode,
162 return ERR_PTR(-ENODEV); 165 return ERR_PTR(-ENODEV);
163} 166}
164 167
168static inline struct dentry *debugfs_create_size_t(const char *name, mode_t mode,
169 struct dentry *parent,
170 size_t *value)
171{
172 return ERR_PTR(-ENODEV);
173}
174
165static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode, 175static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode,
166 struct dentry *parent, 176 struct dentry *parent,
167 u32 *value) 177 u32 *value)
@@ -176,6 +186,11 @@ static inline struct dentry *debugfs_create_blob(const char *name, mode_t mode,
176 return ERR_PTR(-ENODEV); 186 return ERR_PTR(-ENODEV);
177} 187}
178 188
189static inline bool debugfs_initialized(void)
190{
191 return false;
192}
193
179#endif 194#endif
180 195
181#endif 196#endif