diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-21 21:53:15 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-22 06:04:18 -0500 |
commit | 095d79dc491dab1311978e0efb252bc23da88b32 (patch) | |
tree | c58cd4f7abab858d58ebdd4c225747d7e5795e4e /sound/soc/samsung/jive_wm8750.c | |
parent | 561c6a172f065fa918d0ff3cecdca1b22dca893f (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/jive_wm8750.c')
-rw-r--r-- | sound/soc/samsung/jive_wm8750.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/samsung/jive_wm8750.c b/sound/soc/samsung/jive_wm8750.c index 8e523fd9189e..1578663a1faa 100644 --- a/sound/soc/samsung/jive_wm8750.c +++ b/sound/soc/samsung/jive_wm8750.c | |||
@@ -127,6 +127,7 @@ static struct snd_soc_dai_link jive_dai = { | |||
127 | /* jive audio machine driver */ | 127 | /* jive audio machine driver */ |
128 | static struct snd_soc_card snd_soc_machine_jive = { | 128 | static struct snd_soc_card snd_soc_machine_jive = { |
129 | .name = "Jive", | 129 | .name = "Jive", |
130 | .owner = THIS_MODULE, | ||
130 | .dai_link = &jive_dai, | 131 | .dai_link = &jive_dai, |
131 | .num_links = 1, | 132 | .num_links = 1, |
132 | 133 | ||