aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/debugfs.h
diff options
context:
space:
mode:
authorMichal Ostrowski <mostrows@speakeasy.net>2005-04-19 00:57:34 -0400
committerGreg KH <greg@press.kroah.org>2005-04-19 00:57:34 -0400
commit7b558637b0efc6ab3f3ca08f0b9cc0191665e9db (patch)
tree79c5c5882b448e252d4dd3a3e8bde3c522103192 /include/linux/debugfs.h
parenta7a76cefc4b12bb6508afa4c77f11c2752cc365d (diff)
[PATCH] debugfs: fix !debugfs prototypes
- Fix prototypes for debugfs functions (in configurations where debugfs is disabled). Signed-off-by: Michal Ostrowski <mostrows@speakeasy.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r--include/linux/debugfs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
index dcf847cdb5ce..a5fa6a6eede8 100644
--- a/include/linux/debugfs.h
+++ b/include/linux/debugfs.h
@@ -75,21 +75,21 @@ static inline struct dentry *debugfs_create_u8(const char *name, mode_t mode,
75 75
76static inline struct dentry *debugfs_create_u16(const char *name, mode_t mode, 76static inline struct dentry *debugfs_create_u16(const char *name, mode_t mode,
77 struct dentry *parent, 77 struct dentry *parent,
78 u8 *value) 78 u16 *value)
79{ 79{
80 return ERR_PTR(-ENODEV); 80 return ERR_PTR(-ENODEV);
81} 81}
82 82
83static inline struct dentry *debugfs_create_u32(const char *name, mode_t mode, 83static inline struct dentry *debugfs_create_u32(const char *name, mode_t mode,
84 struct dentry *parent, 84 struct dentry *parent,
85 u8 *value) 85 u32 *value)
86{ 86{
87 return ERR_PTR(-ENODEV); 87 return ERR_PTR(-ENODEV);
88} 88}
89 89
90static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode, 90static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode,
91 struct dentry *parent, 91 struct dentry *parent,
92 u8 *value) 92 u32 *value)
93{ 93{
94 return ERR_PTR(-ENODEV); 94 return ERR_PTR(-ENODEV);
95} 95}