Skip to content

Commit

Permalink
[media] solo6x10: fix 'BUG: key ffff88081a2a9b58 not in .data!'
Browse files Browse the repository at this point in the history
Caused by a missing sysfs_attr_init().

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 25, 2013
1 parent a4056c2 commit ff82ad2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/media/solo6x10/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ static int solo_sysfs_init(struct solo_dev *solo_dev)
}
}

sysfs_attr_init(&sdram_attr->attr);
sdram_attr->attr.name = "sdram";
sdram_attr->attr.mode = 0440;
sdram_attr->read = sdram_show;
Expand Down

0 comments on commit ff82ad2

Please sign in to comment.