From 662d4e5c247e9feb2814d9eafc160f42d9035978 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 23 Dec 2011 09:53:55 +0800 Subject: ASoC: au1x: Add .owner to struct snd_soc_card MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- sound/soc/au1x/db1000.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/soc/au1x/db1000.c') diff --git a/sound/soc/au1x/db1000.c b/sound/soc/au1x/db1000.c index 094a20723bc6..511d83c11a9a 100644 --- a/sound/soc/au1x/db1000.c +++ b/sound/soc/au1x/db1000.c @@ -29,6 +29,7 @@ static struct snd_soc_dai_link db1000_ac97_dai = { static struct snd_soc_card db1000_ac97 = { .name = "DB1000_AC97", + .owner = THIS_MODULE, .dai_link = &db1000_ac97_dai, .num_links = 1, }; -- cgit v1.2.3