]> err.no Git - linux-2.6/commitdiff
[PATCH] Fix sysfs build breakage if !CONFIG_SYSFS
authorRalf Baechle <ralf@linux-mips.org>
Thu, 1 Mar 2007 12:40:21 +0000 (12:40 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 2 Mar 2007 01:22:04 +0000 (17:22 -0800)
B0rkage introduced by dfa87c824a9a5430008acd1ed2e8111ed164fcbe.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sysfs.h

index 21805b500aa24cbdbe67bb6ee0ccf4600f712e4b..523405e1e1f6463a5f8aa925655d97234adaefae 100644 (file)
@@ -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)