1 /* Public domain. */ 2 3 #ifndef _LINUX_SYSFS_H 4 #define _LINUX_SYSFS_H 5 6 #include <linux/kernfs.h> 7 8 struct attribute { 9 const char *name; 10 int mode; 11 }; 12 13 struct bin_attribute { 14 }; 15 16 struct attribute_group { 17 const char *name; 18 struct attribute **attrs; 19 struct bin_attribute **bin_attrs; 20 }; 21 22 #define sysfs_create_link(x, y, z) 0 23 #define sysfs_remove_link(x, y) 24 #define sysfs_create_group(x, y) 0 25 #define sysfs_remove_group(x, y) 26 #define sysfs_remove_file(x, y) 27 #define sysfs_remove_file_from_group(x, y, z) 28 29 #endif 30