4 #include <linux/compiler.h>
5 #include <linux/stringify.h>
14 #define __ATTR(_name, _mode, _show, _store) { \
15 .attr = {.name = __stringify(_name), .mode = _mode }, \
20 static inline int sysfs_create_files(struct kobject *kobj,
21 const struct attribute **attr)
26 static inline int sysfs_create_link(struct kobject *kobj,
27 struct kobject *target, const char *name)
32 static inline void sysfs_remove_link(struct kobject *kobj, const char *name)
36 #endif /* _SYSFS_H_ */