4 #include <linux/compiler.h>
13 struct attribute_group {
14 struct attribute **attrs;
18 ssize_t (*show)(struct kobject *, struct attribute *, char *);
19 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
22 static inline int sysfs_create_files(struct kobject *kobj,
23 const struct attribute **attr)
28 static inline int sysfs_create_link(struct kobject *kobj,
29 struct kobject *target, const char *name)
34 static inline void sysfs_remove_link(struct kobject *kobj, const char *name)
38 #endif /* _SYSFS_H_ */