Commit ff82ad22 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

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

Caused by a missing sysfs_attr_init().
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a4056c2f
...@@ -481,6 +481,7 @@ static int solo_sysfs_init(struct solo_dev *solo_dev) ...@@ -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.name = "sdram";
sdram_attr->attr.mode = 0440; sdram_attr->attr.mode = 0440;
sdram_attr->read = sdram_show; sdram_attr->read = sdram_show;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment