From: Axel Lin Date: Fri, 23 Dec 2011 06:51:17 +0000 (+0800) Subject: ASoC: nuc900: Add .owner to struct snd_soc_card X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b5a67048d012cc69618140ce31316eedc9c57e8c;p=~shefty%2Frdma-dev.git ASoC: nuc900: 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/nuc900/nuc900-audio.c b/sound/soc/nuc900/nuc900-audio.c index 38a2d0d883b..2f6e6fd6e05 100644 --- a/sound/soc/nuc900/nuc900-audio.c +++ b/sound/soc/nuc900/nuc900-audio.c @@ -32,6 +32,7 @@ static struct snd_soc_dai_link nuc900evb_ac97_dai = { static struct snd_soc_card nuc900evb_audio_machine = { .name = "NUC900EVB_AC97", + .owner = THIS_MODULE, .dai_link = &nuc900evb_ac97_dai, .num_links = 1, };