提交 7b558637 编写于 作者: M Michal Ostrowski 提交者: Greg KH

[PATCH] debugfs: fix !debugfs prototypes

- Fix prototypes for debugfs functions (in configurations where
  debugfs is disabled).
Signed-off-by: NMichal Ostrowski <mostrows@speakeasy.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 a7a76cef
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册