summaryrefslogtreecommitdiff
path: root/sound/soc/jz4740
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-23 14:48:19 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-23 11:16:57 +0000
commit1d9d25b35261af7892df7d339b6c34ed648ccd57 (patch)
tree41b860feea5980cf20c2d2d6bbf4aaa98e412a37 /sound/soc/jz4740
parent6aff8ccb0cdd14be2acaa7cf397842005752b0f3 (diff)
ASoC: jz4740: Add .owner to struct snd_soc_card
Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users. Reported-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/jz4740')
-rw-r--r--sound/soc/jz4740/qi_lb60.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/jz4740/qi_lb60.c b/sound/soc/jz4740/qi_lb60.c
index c5fc339f68f1..0097c3b13a1a 100644
--- a/sound/soc/jz4740/qi_lb60.c
+++ b/sound/soc/jz4740/qi_lb60.c
@@ -81,6 +81,7 @@ static struct snd_soc_dai_link qi_lb60_dai = {
static struct snd_soc_card qi_lb60 = {
.name = "QI LB60",
+ .owner = THIS_MODULE,
.dai_link = &qi_lb60_dai,
.num_links = 1,