diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-21 22:08:59 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@ti.com> | 2011-12-23 13:13:01 -0500 |
commit | b425b88418e302caf27e9cf44aa987b83c04cb2d (patch) | |
tree | 1566618f56953e501b0aa5067510a4ddde63cd45 /sound/soc/omap/ams-delta.c | |
parent | c5cf4dbc7f804bb4ff02a065b927bd8688204253 (diff) |
ASoC: omap: 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>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/omap/ams-delta.c')
-rw-r--r-- | sound/soc/omap/ams-delta.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c index a04a4338fdac..3e523a7a9efb 100644 --- a/sound/soc/omap/ams-delta.c +++ b/sound/soc/omap/ams-delta.c | |||
@@ -597,6 +597,7 @@ static struct snd_soc_dai_link ams_delta_dai_link = { | |||
597 | /* Audio card driver */ | 597 | /* Audio card driver */ |
598 | static struct snd_soc_card ams_delta_audio_card = { | 598 | static struct snd_soc_card ams_delta_audio_card = { |
599 | .name = "AMS_DELTA", | 599 | .name = "AMS_DELTA", |
600 | .owner = THIS_MODULE, | ||
600 | .dai_link = &ams_delta_dai_link, | 601 | .dai_link = &ams_delta_dai_link, |
601 | .num_links = 1, | 602 | .num_links = 1, |
602 | .set_bias_level = ams_delta_set_bias_level, | 603 | .set_bias_level = ams_delta_set_bias_level, |