提交 d701d8a3 编写于 作者: R Ralf Baechle 提交者: Linus Torvalds

[PATCH] Fix sysfs build breakage if !CONFIG_SYSFS

B0rkage introduced by dfa87c82.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 516dffdc
...@@ -211,9 +211,8 @@ static inline int sysfs_add_file_to_group(struct kobject *kobj, ...@@ -211,9 +211,8 @@ static inline int sysfs_add_file_to_group(struct kobject *kobj,
} }
static inline void sysfs_remove_file_from_group(struct kobject *kobj, static inline void sysfs_remove_file_from_group(struct kobject *kobj,
const struct attribute *attr, const char *group); const struct attribute *attr, const char *group)
{ {
;
} }
static inline void sysfs_notify(struct kobject * k, char *dir, char *attr) static inline void sysfs_notify(struct kobject * k, char *dir, char *attr)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册