Commit d701d8a3 authored by Ralf Baechle's avatar Ralf Baechle Committed by Linus Torvalds

[PATCH] Fix sysfs build breakage if !CONFIG_SYSFS

B0rkage introduced by dfa87c82.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment