[media] solo6x10: fix 'BUG: key ffff88081a2a9b58 not in .data!'
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>
This commit is contained in:
parent
a4056c2fb4
commit
ff82ad223d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue