[PATCH] debugfs: fix !debugfs prototypes
authorMichal Ostrowski <mostrows@speakeasy.net>
Tue, 19 Apr 2005 04:57:34 +0000 (21:57 -0700)
committerGreg KH <greg@press.kroah.org>
Tue, 19 Apr 2005 04:57:34 +0000 (21:57 -0700)
- 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>
include/linux/debugfs.h

index dcf847cdb5cebf19adabf29befe08fdbe0cc6224..a5fa6a6eede814ab502894736146fde295dee8c5 100644 (file)
@@ -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);
 }