Skip to content

Commit

Permalink
[PATCH] Fix sysfs build breakage if !CONFIG_SYSFS
Browse files Browse the repository at this point in the history
B0rkage introduced by dfa87c8.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Ralf Baechle authored and Linus Torvalds committed Mar 2, 2007
1 parent 516dffd commit d701d8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/linux/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
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)
Expand Down

0 comments on commit d701d8a

Please sign in to comment.