From: Wei Yongjun Date: Tue, 2 Jul 2013 09:26:21 +0000 (+0800) Subject: ASoC: brownstone: add .owner to struct snd_soc_card X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0d6178662cf3dde6829ace63408f25cab42e21c3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: brownstone: 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: Wei Yongjun Signed-off-by: Mark Brown --- diff --git a/sound/soc/pxa/brownstone.c b/sound/soc/pxa/brownstone.c index 4ad76099dd43..5b7d969f89a9 100644 --- a/sound/soc/pxa/brownstone.c +++ b/sound/soc/pxa/brownstone.c @@ -129,6 +129,7 @@ static struct snd_soc_dai_link brownstone_wm8994_dai[] = { /* audio machine driver */ static struct snd_soc_card brownstone = { .name = "brownstone", + .owner = THIS_MODULE, .dai_link = brownstone_wm8994_dai, .num_links = ARRAY_SIZE(brownstone_wm8994_dai),