We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc9f86 commit 7ff61cdCopy full SHA for 7ff61cd
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
@@ -208,6 +208,7 @@ static struct attribute *amdgpu_xgmi_hive_attrs[] = {
208
&amdgpu_xgmi_hive_id,
209
NULL
210
};
211
+ATTRIBUTE_GROUPS(amdgpu_xgmi_hive);
212
213
static ssize_t amdgpu_xgmi_show_attrs(struct kobject *kobj,
214
struct attribute *attr, char *buf)
@@ -237,7 +238,7 @@ static const struct sysfs_ops amdgpu_xgmi_hive_ops = {
237
238
struct kobj_type amdgpu_xgmi_hive_type = {
239
.release = amdgpu_xgmi_hive_release,
240
.sysfs_ops = &amdgpu_xgmi_hive_ops,
- .default_attrs = amdgpu_xgmi_hive_attrs,
241
+ .default_groups = amdgpu_xgmi_hive_groups,
242
243
244
static ssize_t amdgpu_xgmi_show_device_id(struct device *dev,
0 commit comments