From ff82ad223d386aa588948931dac5d61f4dae3cfb Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Fri, 15 Mar 2013 12:09:35 -0300 Subject: [PATCH] [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 --- drivers/staging/media/solo6x10/core.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2