diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-23 01:50:17 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-23 06:32:09 -0500 |
commit | 8270ba0c96702864cb0451079384e5060537d345 (patch) | |
tree | c6f2855c3fa2964524c4337e0ca939385dee861e /sound/soc | |
parent | 9b344ce80f8bdf5887d9b5f6d9566d336a8c6ab9 (diff) |
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')
-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[] = { | |||
323 | /* SoC card */ | 323 | /* SoC card */ |
324 | static struct snd_soc_card snd_soc_card_mfld = { | 324 | static struct snd_soc_card snd_soc_card_mfld = { |
325 | .name = "medfield_audio", | 325 | .name = "medfield_audio", |
326 | .owner = THIS_MODULE, | ||
326 | .dai_link = mfld_msic_dailink, | 327 | .dai_link = mfld_msic_dailink, |
327 | .num_links = ARRAY_SIZE(mfld_msic_dailink), | 328 | .num_links = ARRAY_SIZE(mfld_msic_dailink), |
328 | }; | 329 | }; |