Skip to content

Commit

Permalink
[PATCH] debugfs: fix !debugfs prototypes
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
Michal Ostrowski authored and Greg KH committed Apr 19, 2005
1 parent a7a76ce commit 7b55863
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/linux/debugfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7b55863

Please sign in to comment.