diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-23 01:52:22 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-23 06:32:00 -0500 |
commit | 23bd1ce48f0b2721f0f37087d8acd9fe57f895d7 (patch) | |
tree | 4118dccedebb12e29f0b57cb9f32528d8b45d7cf /sound/soc | |
parent | b5a67048d012cc69618140ce31316eedc9c57e8c (diff) |
ASoC: s6000: Add .owner to struct snd_soc_card
Add missing .owner of struct snd_soc_card. This prevents 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: Daniel Glöckner <dg@emlix.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/s6000/s6105-ipcam.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/s6000/s6105-ipcam.c b/sound/soc/s6000/s6105-ipcam.c index 5890e431852f..58cfb1eb7dd3 100644 --- a/sound/soc/s6000/s6105-ipcam.c +++ b/sound/soc/s6000/s6105-ipcam.c | |||
@@ -187,6 +187,7 @@ static struct snd_soc_dai_link s6105_dai = { | |||
187 | /* s6105 audio machine driver */ | 187 | /* s6105 audio machine driver */ |
188 | static struct snd_soc_card snd_soc_card_s6105 = { | 188 | static struct snd_soc_card snd_soc_card_s6105 = { |
189 | .name = "Stretch IP Camera", | 189 | .name = "Stretch IP Camera", |
190 | .owner = THIS_MODULE, | ||
190 | .dai_link = &s6105_dai, | 191 | .dai_link = &s6105_dai, |
191 | .num_links = 1, | 192 | .num_links = 1, |
192 | }; | 193 | }; |