changeset 184 | 2fc86cec12df |
parent 182 | 8c0bc99229a9 |
child 188 | c0e49f4a1c07 |
--- a/master/master.c Tue Apr 11 10:05:21 2006 +0000 +++ b/master/master.c Tue Apr 11 10:17:30 2006 +0000 @@ -29,11 +29,7 @@ /*****************************************************************************/ -static struct attribute attr_slave_count = { - .name = "slave_count", - .owner = THIS_MODULE, - .mode = S_IRUGO -}; +EC_SYSFS_READ_ATTR(slave_count); static struct attribute *ec_def_attrs[] = { &attr_slave_count,