[media] solo6x10: fix 'BUG: key ffff88081a2a9b58 not in .data!'
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 15 Mar 2013 15:09:35 +0000 (12:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 11:47:08 +0000 (08:47 -0300)
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>
drivers/staging/media/solo6x10/core.c

index 05ecd48e5507be2cb3b9bf07f73c9b6c6d809d5d..3cea08d2658d4214343136cf5535f51cbddcb574 100644 (file)
@@ -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;