diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-22 03:53:15 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-22 12:04:18 +0100 |
commit | 095d79dc491dab1311978e0efb252bc23da88b32 (patch) | |
tree | c58cd4f7abab858d58ebdd4c225747d7e5795e4e /sound/soc/samsung/goni_wm8994.c | |
parent | ASoC: pxa: Add .owner to struct snd_soc_card (diff) | |
download | linux-095d79dc491dab1311978e0efb252bc23da88b32.tar.xz linux-095d79dc491dab1311978e0efb252bc23da88b32.zip |
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/goni_wm8994.c')
-rw-r--r-- | sound/soc/samsung/goni_wm8994.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/samsung/goni_wm8994.c b/sound/soc/samsung/goni_wm8994.c index 84f9c3cf7f3e..c23c2ae91f58 100644 --- a/sound/soc/samsung/goni_wm8994.c +++ b/sound/soc/samsung/goni_wm8994.c @@ -244,6 +244,7 @@ static struct snd_soc_dai_link goni_dai[] = { static struct snd_soc_card goni = { .name = "goni", + .owner = THIS_MODULE, .dai_link = goni_dai, .num_links = ARRAY_SIZE(goni_dai), |