ASoC: jz4740: Add .owner to struct snd_soc_card
authorAxel Lin <axel.lin@gmail.com>
Fri, 23 Dec 2011 06:48:19 +0000 (14:48 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 23 Dec 2011 11:16:57 +0000 (11:16 +0000)
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>
sound/soc/jz4740/qi_lb60.c

index c5fc339f68f1b792bf42932c8390590d5c4a058e..0097c3b13a1a31a1e1d48c99d71d62d3db72281d 100644 (file)
@@ -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,