equal
deleted
inserted
replaced
27 |
27 |
28 ssize_t ec_show_master_attribute(struct kobject *, struct attribute *, char *); |
28 ssize_t ec_show_master_attribute(struct kobject *, struct attribute *, char *); |
29 |
29 |
30 /*****************************************************************************/ |
30 /*****************************************************************************/ |
31 |
31 |
32 static struct attribute attr_slave_count = { |
32 EC_SYSFS_READ_ATTR(slave_count); |
33 .name = "slave_count", |
|
34 .owner = THIS_MODULE, |
|
35 .mode = S_IRUGO |
|
36 }; |
|
37 |
33 |
38 static struct attribute *ec_def_attrs[] = { |
34 static struct attribute *ec_def_attrs[] = { |
39 &attr_slave_count, |
35 &attr_slave_count, |
40 NULL, |
36 NULL, |
41 }; |
37 }; |