From: Ralf Baechle Date: Thu, 1 Mar 2007 12:40:21 +0000 (+0000) Subject: [PATCH] Fix sysfs build breakage if !CONFIG_SYSFS X-Git-Tag: v2.6.21-rc3~151 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d701d8a3bc1c0f56fa2759f631f86a320b66f13e;p=linux-2.6 [PATCH] Fix sysfs build breakage if !CONFIG_SYSFS B0rkage introduced by dfa87c824a9a5430008acd1ed2e8111ed164fcbe. Signed-off-by: Ralf Baechle Signed-off-by: Linus Torvalds --- diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 21805b500a..523405e1e1 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -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)