diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-22 02:53:15 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-22 11:04:18 (GMT) |
commit | 095d79dc491dab1311978e0efb252bc23da88b32 (patch) | |
tree | c58cd4f7abab858d58ebdd4c225747d7e5795e4e /sound/soc/samsung/speyside.c | |
parent | 561c6a172f065fa918d0ff3cecdca1b22dca893f (diff) | |
download | linux-fsl-qoriq-095d79dc491dab1311978e0efb252bc23da88b32.tar.xz |
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/speyside.c')
-rw-r--r-- | sound/soc/samsung/speyside.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/samsung/speyside.c b/sound/soc/samsung/speyside.c index 0222d86..f9ab770 100644 --- a/sound/soc/samsung/speyside.c +++ b/sound/soc/samsung/speyside.c @@ -291,6 +291,7 @@ static struct snd_soc_dapm_route audio_paths[] = { static struct snd_soc_card speyside = { .name = "Speyside", + .owner = THIS_MODULE, .dai_link = speyside_dai, .num_links = ARRAY_SIZE(speyside_dai), .aux_dev = speyside_aux_dev, |