diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-22 08:19:42 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-22 12:34:34 -0500 |
commit | 36a16d1ae0735bd95ab86fdf5983ddbaa20c648d (patch) | |
tree | 6676894b7cd178e93b6e5429cf1eeec2ae8cf3f4 /sound/soc/davinci/davinci-sffsdr.c | |
parent | 30e4953011fd7a22044a62b9cf77252493b1bd17 (diff) |
ASoC: davinci: 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/davinci/davinci-sffsdr.c')
-rw-r--r-- | sound/soc/davinci/davinci-sffsdr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/davinci/davinci-sffsdr.c b/sound/soc/davinci/davinci-sffsdr.c index 0fe558c65145..f71175b29e38 100644 --- a/sound/soc/davinci/davinci-sffsdr.c +++ b/sound/soc/davinci/davinci-sffsdr.c | |||
@@ -93,6 +93,7 @@ static struct snd_soc_dai_link sffsdr_dai = { | |||
93 | /* davinci-sffsdr audio machine driver */ | 93 | /* davinci-sffsdr audio machine driver */ |
94 | static struct snd_soc_card snd_soc_sffsdr = { | 94 | static struct snd_soc_card snd_soc_sffsdr = { |
95 | .name = "DaVinci SFFSDR", | 95 | .name = "DaVinci SFFSDR", |
96 | .owner = THIS_MODULE, | ||
96 | .dai_link = &sffsdr_dai, | 97 | .dai_link = &sffsdr_dai, |
97 | .num_links = 1, | 98 | .num_links = 1, |
98 | }; | 99 | }; |