@@ -99,13 +99,15 @@ static struct attribute *vas_def_capab_attrs[] = {
99
99
& nr_used_credits_attribute .attr ,
100
100
NULL ,
101
101
};
102
+ ATTRIBUTE_GROUPS (vas_def_capab );
102
103
103
104
static struct attribute * vas_qos_capab_attrs [] = {
104
105
& nr_total_credits_attribute .attr ,
105
106
& nr_used_credits_attribute .attr ,
106
107
& update_total_credits_attribute .attr ,
107
108
NULL ,
108
109
};
110
+ ATTRIBUTE_GROUPS (vas_qos_capab );
109
111
110
112
static ssize_t vas_type_show (struct kobject * kobj , struct attribute * attr ,
111
113
char * buf )
@@ -154,13 +156,13 @@ static const struct sysfs_ops vas_sysfs_ops = {
154
156
static struct kobj_type vas_def_attr_type = {
155
157
.release = vas_type_release ,
156
158
.sysfs_ops = & vas_sysfs_ops ,
157
- .default_attrs = vas_def_capab_attrs ,
159
+ .default_groups = vas_def_capab_groups ,
158
160
};
159
161
160
162
static struct kobj_type vas_qos_attr_type = {
161
163
.release = vas_type_release ,
162
164
.sysfs_ops = & vas_sysfs_ops ,
163
- .default_attrs = vas_qos_capab_attrs ,
165
+ .default_groups = vas_qos_capab_groups ,
164
166
};
165
167
166
168
static char * vas_caps_kobj_name (struct vas_caps_entry * centry ,
0 commit comments