diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sysfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index d639e18caa91..f054416c8145 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -23,6 +23,9 @@ struct bin_attribute { ssize_t (*write)(struct kobject *, char *, loff_t, size_t); }; +int sysfs_create_bin_file(struct kobject * kobj, struct bin_attribute * attr); +int sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr); + struct sysfs_ops { ssize_t (*show)(struct kobject *, struct attribute *,char *); ssize_t (*store)(struct kobject *,struct attribute *,const char *, size_t); |
