summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_alc5632.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-22 14:23:01 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-22 18:34:35 +0100
commitb16eaf9fd324a70ecca48faa7ef3f349baf7f0cd (patch)
treee2d2e5c126e25ded9e00fa0e52c81723383f6cbd /sound/soc/tegra/tegra_alc5632.c
parentASoC: ep93xx: Add .owner to struct snd_soc_card (diff)
downloadlinux-b16eaf9fd324a70ecca48faa7ef3f349baf7f0cd.tar.xz
linux-b16eaf9fd324a70ecca48faa7ef3f349baf7f0cd.zip
ASoC: tegra: 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/tegra/tegra_alc5632.c')
-rw-r--r--sound/soc/tegra/tegra_alc5632.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_alc5632.c b/sound/soc/tegra/tegra_alc5632.c
index 9287eb8028fd..4a0e805c4edd 100644
--- a/sound/soc/tegra/tegra_alc5632.c
+++ b/sound/soc/tegra/tegra_alc5632.c
@@ -141,6 +141,7 @@ static struct snd_soc_dai_link tegra_alc5632_dai = {
static struct snd_soc_card snd_soc_tegra_alc5632 = {
.name = "tegra-alc5632",
+ .owner = THIS_MODULE,
.dai_link = &tegra_alc5632_dai,
.num_links = 1,
.controls = tegra_alc5632_controls,