diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-22 08:17:22 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-22 12:34:34 -0500 |
commit | 30e4953011fd7a22044a62b9cf77252493b1bd17 (patch) | |
tree | a0bdb7f5769ff00c80d068707590e1aea51e308b /sound/soc/blackfin/bfin-eval-adau1701.c | |
parent | 338d68db77aaf90eea9e06517272b7d7a83d95a4 (diff) |
ASoC: blackfin: 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/blackfin/bfin-eval-adau1701.c')
-rw-r--r-- | sound/soc/blackfin/bfin-eval-adau1701.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/blackfin/bfin-eval-adau1701.c b/sound/soc/blackfin/bfin-eval-adau1701.c index 1a88fe9ce34c..c0064fa1dca6 100644 --- a/sound/soc/blackfin/bfin-eval-adau1701.c +++ b/sound/soc/blackfin/bfin-eval-adau1701.c | |||
@@ -84,6 +84,7 @@ static struct snd_soc_dai_link bfin_eval_adau1701_dai[] = { | |||
84 | 84 | ||
85 | static struct snd_soc_card bfin_eval_adau1701 = { | 85 | static struct snd_soc_card bfin_eval_adau1701 = { |
86 | .name = "bfin-eval-adau1701", | 86 | .name = "bfin-eval-adau1701", |
87 | .owner = THIS_MODULE, | ||
87 | .dai_link = &bfin_eval_adau1701_dai[CONFIG_SND_BF5XX_SPORT_NUM], | 88 | .dai_link = &bfin_eval_adau1701_dai[CONFIG_SND_BF5XX_SPORT_NUM], |
88 | .num_links = 1, | 89 | .num_links = 1, |
89 | 90 | ||