diff options
-rw-r--r-- | include/linux/sysfs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 69c1ff003628..e647a1aa0723 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
@@ -350,6 +350,11 @@ static inline int sysfs_create_group(struct kobject *kobj, | |||
350 | return 0; | 350 | return 0; |
351 | } | 351 | } |
352 | 352 | ||
353 | static inline int sysfs_create_groups(struct kobject *kobj, | ||
354 | const struct attribute_group **groups) | ||
355 | { | ||
356 | } | ||
357 | |||
353 | static inline int sysfs_update_group(struct kobject *kobj, | 358 | static inline int sysfs_update_group(struct kobject *kobj, |
354 | const struct attribute_group *grp) | 359 | const struct attribute_group *grp) |
355 | { | 360 | { |
@@ -361,6 +366,11 @@ static inline void sysfs_remove_group(struct kobject *kobj, | |||
361 | { | 366 | { |
362 | } | 367 | } |
363 | 368 | ||
369 | static inline void sysfs_remove_groups(struct kobject *kobj, | ||
370 | const struct attribute_group **groups) | ||
371 | { | ||
372 | } | ||
373 | |||
364 | static inline int sysfs_add_file_to_group(struct kobject *kobj, | 374 | static inline int sysfs_add_file_to_group(struct kobject *kobj, |
365 | const struct attribute *attr, const char *group) | 375 | const struct attribute *attr, const char *group) |
366 | { | 376 | { |