aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/ep93xx/edb93xx.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-22 21:21:37 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-22 17:34:35 +0000
commita76a70232914902e47d289b6d3853ac850097573 (patch)
treeb5e65ff7b639ee927751f84f246190b2e015481d /sound/soc/ep93xx/edb93xx.c
parentASoC: davinci: Add .owner to struct snd_soc_card (diff)
downloadlinux-dev-a76a70232914902e47d289b6d3853ac850097573.tar.xz
linux-dev-a76a70232914902e47d289b6d3853ac850097573.zip
ASoC: ep93xx: Add .owner to struct snd_soc_card
Missed .owner of struct snd_soc_card will prevent the module from being removed from underneath its users. Reported-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/ep93xx/edb93xx.c')
-rw-r--r--sound/soc/ep93xx/edb93xx.c1
1 files changed, 1 insertions, 0 deletions
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,
};