summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-03-15 12:09:35 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-25 08:47:08 -0300
commitff82ad223d386aa588948931dac5d61f4dae3cfb (patch)
treebf41da31ba4c82c07b907e66e89c3d1fcab54442 /drivers/staging/media
parenta4056c2fb4c4646267e23dcf6d72f0e28f2e0891 (diff)
downloadblackbird-op-linux-ff82ad223d386aa588948931dac5d61f4dae3cfb.tar.gz
blackbird-op-linux-ff82ad223d386aa588948931dac5d61f4dae3cfb.zip
[media] solo6x10: fix 'BUG: key ffff88081a2a9b58 not in .data!'
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>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r--drivers/staging/media/solo6x10/core.c1
1 files changed, 1 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud