diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sysfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index d77cde6d0498..f0496b3d1811 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
| @@ -110,7 +110,7 @@ struct bin_attribute { | |||
| 110 | * enabled. Lockdep gives a nice error when your attribute is | 110 | * enabled. Lockdep gives a nice error when your attribute is |
| 111 | * added to sysfs if you don't have this. | 111 | * added to sysfs if you don't have this. |
| 112 | */ | 112 | */ |
| 113 | #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&bin_attr->attr) | 113 | #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr) |
| 114 | 114 | ||
| 115 | struct sysfs_ops { | 115 | struct sysfs_ops { |
| 116 | ssize_t (*show)(struct kobject *, struct attribute *,char *); | 116 | ssize_t (*show)(struct kobject *, struct attribute *,char *); |
