diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-23 14:50:17 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-23 11:32:09 +0000 |
commit | 8270ba0c96702864cb0451079384e5060537d345 (patch) | |
tree | c6f2855c3fa2964524c4337e0ca939385dee861e /sound/soc/mid-x86 | |
parent | 9b344ce80f8bdf5887d9b5f6d9566d336a8c6ab9 (diff) | |
download | linux-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.c | 1 |
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), }; |