From: Axel Lin Date: Fri, 23 Dec 2011 06:48:19 +0000 (+0800) Subject: ASoC: jz4740: Add .owner to struct snd_soc_card X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1d9d25b35261af7892df7d339b6c34ed648ccd57;p=linux.git ASoC: jz4740: 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/jz4740/qi_lb60.c b/sound/soc/jz4740/qi_lb60.c index c5fc339f68f1b..0097c3b13a1a3 100644 --- a/sound/soc/jz4740/qi_lb60.c +++ b/sound/soc/jz4740/qi_lb60.c @@ -81,6 +81,7 @@ static struct snd_soc_dai_link qi_lb60_dai = { static struct snd_soc_card qi_lb60 = { .name = "QI LB60", + .owner = THIS_MODULE, .dai_link = &qi_lb60_dai, .num_links = 1,