From: Wei Yongjun Date: Tue, 2 Jul 2013 09:25:37 +0000 (+0800) Subject: ASoC: mop500: add .owner to struct snd_soc_card X-Git-Tag: v3.12-rc1~43^2~15^2~11^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7c8c589bb640a86685ee040e683b1ec93339f13;p=profile%2Fivi%2Fkernel-x86-ivi.git ASoC: mop500: 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/ux500/mop500.c b/sound/soc/ux500/mop500.c index 8f5cd00..178d1ba 100644 --- a/sound/soc/ux500/mop500.c +++ b/sound/soc/ux500/mop500.c @@ -52,6 +52,7 @@ static struct snd_soc_dai_link mop500_dai_links[] = { static struct snd_soc_card mop500_card = { .name = "MOP500-card", + .owner = THIS_MODULE, .probe = NULL, .dai_link = mop500_dai_links, .num_links = ARRAY_SIZE(mop500_dai_links),