From: Michal Ostrowski Date: Tue, 19 Apr 2005 04:57:34 +0000 (-0700) Subject: [PATCH] debugfs: fix !debugfs prototypes X-Git-Tag: v2.6.12-rc3~23^2~6 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=7b558637b0efc6ab3f3ca08f0b9cc0191665e9db;hp=a7a76cefc4b12bb6508afa4c77f11c2752cc365d;p=~andy%2Flinux [PATCH] debugfs: fix !debugfs prototypes - Fix prototypes for debugfs functions (in configurations where debugfs is disabled). Signed-off-by: Michal Ostrowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index dcf847cdb5c..a5fa6a6eede 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, static inline struct dentry *debugfs_create_u16(const char *name, mode_t mode, struct dentry *parent, - u8 *value) + u16 *value) { return ERR_PTR(-ENODEV); } static inline struct dentry *debugfs_create_u32(const char *name, mode_t mode, struct dentry *parent, - u8 *value) + u32 *value) { return ERR_PTR(-ENODEV); } static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode, struct dentry *parent, - u8 *value) + u32 *value) { return ERR_PTR(-ENODEV); }