From: Lothar Waßmann Date: Wed, 28 Dec 2011 12:06:21 +0000 (+0800) Subject: ASoC: mxs: Add .owner to struct snd_soc_card X-Git-Tag: accepted/tizen/common/20141203.182822~4454^2~172 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5b683489fd3c83f3951eccdc6aee14f50474dda;p=platform%2Fkernel%2Flinux-arm64.git ASoC: mxs: 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: Lothar Waßmann Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c index 259278f..60f052b 100644 --- a/sound/soc/mxs/mxs-sgtl5000.c +++ b/sound/soc/mxs/mxs-sgtl5000.c @@ -105,6 +105,7 @@ static struct snd_soc_dai_link mxs_sgtl5000_dai[] = { static struct snd_soc_card mxs_sgtl5000 = { .name = "mxs_sgtl5000", + .owner = THIS_MODULE, .dai_link = mxs_sgtl5000_dai, .num_links = ARRAY_SIZE(mxs_sgtl5000_dai), };