From: Axel Lin Date: Fri, 23 Dec 2011 06:50:17 +0000 (+0800) Subject: ASoC: mid-x86: Add .owner to struct snd_soc_card X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8270ba0c96702864cb0451079384e5060537d345;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- 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), };