aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-01 07:40:21 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-01 20:22:04 -0500
commitd701d8a3bc1c0f56fa2759f631f86a320b66f13e (patch)
treef2f851f9624e39482d81172b96d3be51876cf74e
parent516dffdcd8827a40532798602830dfcfc672294c (diff)
[PATCH] Fix sysfs build breakage if !CONFIG_SYSFS
B0rkage introduced by dfa87c824a9a5430008acd1ed2e8111ed164fcbe. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/sysfs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h
index 21805b500aa2..523405e1e1f6 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,
211} 211}
212 212
213static inline void sysfs_remove_file_from_group(struct kobject *kobj, 213static inline void sysfs_remove_file_from_group(struct kobject *kobj,
214 const struct attribute *attr, const char *group); 214 const struct attribute *attr, const char *group)
215{ 215{
216 ;
217} 216}
218 217
219static inline void sysfs_notify(struct kobject * k, char *dir, char *attr) 218static inline void sysfs_notify(struct kobject * k, char *dir, char *attr)