Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200065
b: refs/heads/master
c: c419d92
h: refs/heads/master
i:
  200063: 302ff22
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed May 10, 2010
1 parent a90d7e0 commit 9bd227c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cc301b3ae3f615fe243f023e68e22b8298a6f883
refs/heads/master: c419d921e68c54232ce6d369a3b528cd7644b2ae
4 changes: 2 additions & 2 deletions trunk/drivers/edac/edac_mc_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,6 @@ static struct sysfs_ops inst_grp_ops = {
static struct kobj_type ktype_inst_grp = {
.release = edac_inst_grp_release,
.sysfs_ops = &inst_grp_ops,
.default_attrs = (struct attribute **)default_csrow_attr,
};


Expand All @@ -806,13 +805,14 @@ static int edac_create_mci_instance_attributes(struct mem_ctl_info *mci,
while (sysfs_attrib) {
if (sysfs_attrib->grp) {
struct kobject *newkobj = &sysfs_attrib->grp->kobj;

debugf0("%s() grp %s, mci %p\n", __func__,
sysfs_attrib->grp->name, mci);

sysfs_attrib->grp->mci = mci;

err = kobject_init_and_add(newkobj, &ktype_inst_grp,
kobj,
&mci->edac_mci_kobj,
sysfs_attrib->grp->name);
if (err)
return err;
Expand Down

0 comments on commit 9bd227c

Please sign in to comment.