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-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=a5b683489fd3c83f3951eccdc6aee14f50474dda;p=~shefty%2Frdma-dev.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 259278f95cd..60f052b7cf2 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), };