summaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/tavorevb3.c
diff options
context:
space:
mode:
authorAxel Lin2011-12-22 02:44:43 +0100
committerMark Brown2011-12-22 12:04:18 +0100
commit561c6a172f065fa918d0ff3cecdca1b22dca893f (patch)
tree64f76d1539b2d14cd7084bd293ba11d4f86cc803 /sound/soc/pxa/tavorevb3.c
parentASoC: Allow DAI links to be specified using device tree nodes (diff)
downloadkernel-qcow2-linux-561c6a172f065fa918d0ff3cecdca1b22dca893f.tar.gz
kernel-qcow2-linux-561c6a172f065fa918d0ff3cecdca1b22dca893f.tar.xz
kernel-qcow2-linux-561c6a172f065fa918d0ff3cecdca1b22dca893f.zip
ASoC: pxa: Add .owner to struct snd_soc_card
Missed .owner of struct snd_soc_card will prevent 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/pxa/tavorevb3.c')
-rw-r--r--sound/soc/pxa/tavorevb3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/tavorevb3.c b/sound/soc/pxa/tavorevb3.c
index eeec892e0e04..4bef12cd424d 100644
--- a/sound/soc/pxa/tavorevb3.c
+++ b/sound/soc/pxa/tavorevb3.c
@@ -125,6 +125,7 @@ static struct snd_soc_dai_link evb3_dai[] = {
static struct snd_soc_card snd_soc_card_evb3 = {
.name = "Tavor EVB3",
+ .owner = THIS_MODULE,
.dai_link = evb3_dai,
.num_links = ARRAY_SIZE(evb3_dai),
};