summaryrefslogtreecommitdiffstats
path: root/sound/soc/mxs
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2011-12-28 20:06:21 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-28 17:20:48 +0000
commita5b683489fd3c83f3951eccdc6aee14f50474dda (patch)
treecad7b899531e8c73bb5b4a7117395c3db7a0e45c /sound/soc/mxs
parent512fa7c40b9e808000eac31458668369e131a243 (diff)
downloadlinux-a5b683489fd3c83f3951eccdc6aee14f50474dda.tar.bz2
ASoC: mxs: 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. Signed-off-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/mxs')
-rw-r--r--sound/soc/mxs/mxs-sgtl5000.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
index 259278f95cdf..60f052b7cf22 100644
--- a/sound/soc/mxs/mxs-sgtl5000.c
+++ b/sound/soc/mxs/mxs-sgtl5000.c
@@ -105,6 +105,7 @@ static struct snd_soc_dai_link mxs_sgtl5000_dai[] = {
static struct snd_soc_card mxs_sgtl5000 = {
.name = "mxs_sgtl5000",
+ .owner = THIS_MODULE,
.dai_link = mxs_sgtl5000_dai,
.num_links = ARRAY_SIZE(mxs_sgtl5000_dai),
};