From a76a70232914902e47d289b6d3853ac850097573 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Thu, 22 Dec 2011 21:21:37 +0800 Subject: ASoC: ep93xx: Add .owner to struct snd_soc_card MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missed .owner of struct snd_soc_card will prevent 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/ep93xx/edb93xx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/soc/ep93xx/edb93xx.c') diff --git a/sound/soc/ep93xx/edb93xx.c b/sound/soc/ep93xx/edb93xx.c index 9f6fecdf49e7..bae5cbbbd2b2 100644 --- a/sound/soc/ep93xx/edb93xx.c +++ b/sound/soc/ep93xx/edb93xx.c @@ -75,6 +75,7 @@ static struct snd_soc_dai_link edb93xx_dai = { static struct snd_soc_card snd_soc_edb93xx = { .name = "EDB93XX", + .owner = THIS_MODULE, .dai_link = &edb93xx_dai, .num_links = 1, }; -- cgit v1.2.3-59-g8ed1b