From: Hans Verkuil Date: Fri, 15 Mar 2013 15:09:35 +0000 (-0300) Subject: [media] solo6x10: fix 'BUG: key ffff88081a2a9b58 not in .data!' X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ff82ad223d386aa588948931dac5d61f4dae3cfb;p=linux-beck.git [media] solo6x10: fix 'BUG: key ffff88081a2a9b58 not in .data!' Caused by a missing sysfs_attr_init(). Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/solo6x10/core.c b/drivers/staging/media/solo6x10/core.c index 05ecd48e5507..3cea08d2658d 100644 --- a/drivers/staging/media/solo6x10/core.c +++ b/drivers/staging/media/solo6x10/core.c @@ -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;