diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2010-11-26 14:57:29 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-01-07 19:09:21 -0500 |
commit | c97415a72521071c235e0879f9a600014afd87b1 (patch) | |
tree | 4b71de5a0074f93daf4ddea07888c70c3bcc0eaf /include/linux/device.h | |
parent | a7153258b70ccbe3922fcee9ca4271d4f4c2bc55 (diff) |
sysfs: Introducing binary attributes for struct class
Added dev_bin_attrs to struct class similar to existing dev_attrs.
Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index dd4895313468..032bdb5406a2 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -197,6 +197,7 @@ struct class { | |||
197 | 197 | ||
198 | struct class_attribute *class_attrs; | 198 | struct class_attribute *class_attrs; |
199 | struct device_attribute *dev_attrs; | 199 | struct device_attribute *dev_attrs; |
200 | struct bin_attribute *dev_bin_attrs; | ||
200 | struct kobject *dev_kobj; | 201 | struct kobject *dev_kobj; |
201 | 202 | ||
202 | int (*dev_uevent)(struct device *dev, struct kobj_uevent_env *env); | 203 | int (*dev_uevent)(struct device *dev, struct kobj_uevent_env *env); |