summaryrefslogtreecommitdiffstats
path: root/sound/soc/mid-x86
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-23 14:50:17 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-23 11:32:09 +0000
commit8270ba0c96702864cb0451079384e5060537d345 (patch)
treec6f2855c3fa2964524c4337e0ca939385dee861e /sound/soc/mid-x86
parent9b344ce80f8bdf5887d9b5f6d9566d336a8c6ab9 (diff)
downloadlinux-8270ba0c96702864cb0451079384e5060537d345.tar.bz2
ASoC: mid-x86: 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/mid-x86')
-rw-r--r--sound/soc/mid-x86/mfld_machine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/mid-x86/mfld_machine.c b/sound/soc/mid-x86/mfld_machine.c
index 8ae057433968..6f77eef0f131 100644
--- a/sound/soc/mid-x86/mfld_machine.c
+++ b/sound/soc/mid-x86/mfld_machine.c
@@ -323,6 +323,7 @@ static struct snd_soc_dai_link mfld_msic_dailink[] = {
/* SoC card */
static struct snd_soc_card snd_soc_card_mfld = {
.name = "medfield_audio",
+ .owner = THIS_MODULE,
.dai_link = mfld_msic_dailink,
.num_links = ARRAY_SIZE(mfld_msic_dailink),
};