提交 ff82ad22 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

[media] solo6x10: fix 'BUG: key ffff88081a2a9b58 not in .data!'

Caused by a missing sysfs_attr_init().
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 a4056c2f
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册