summaryrefslogtreecommitdiff
path: root/sound/soc/samsung/lowland.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-22 10:53:15 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-22 11:04:18 +0000
commit095d79dc491dab1311978e0efb252bc23da88b32 (patch)
treec58cd4f7abab858d58ebdd4c225747d7e5795e4e /sound/soc/samsung/lowland.c
parent561c6a172f065fa918d0ff3cecdca1b22dca893f (diff)
ASoC: samsung: 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/samsung/lowland.c')
-rw-r--r--sound/soc/samsung/lowland.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/samsung/lowland.c b/sound/soc/samsung/lowland.c
index 4216a06b45f5..4adff934f771 100644
--- a/sound/soc/samsung/lowland.c
+++ b/sound/soc/samsung/lowland.c
@@ -177,6 +177,7 @@ static struct snd_soc_dapm_route audio_paths[] = {
static struct snd_soc_card lowland = {
.name = "Lowland",
+ .owner = THIS_MODULE,
.dai_link = lowland_dai,
.num_links = ARRAY_SIZE(lowland_dai),
.aux_dev = lowland_aux_dev,