diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-23 01:51:17 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-23 06:16:58 -0500 |
commit | b5a67048d012cc69618140ce31316eedc9c57e8c (patch) | |
tree | 656b9600b00561f5e02a68f4eeeae47d88e5f622 /sound/soc/nuc900 | |
parent | 1d9d25b35261af7892df7d339b6c34ed648ccd57 (diff) |
ASoC: nuc900: 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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/nuc900')
-rw-r--r-- | sound/soc/nuc900/nuc900-audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/nuc900/nuc900-audio.c b/sound/soc/nuc900/nuc900-audio.c index 38a2d0d883b5..2f6e6fd6e05c 100644 --- a/sound/soc/nuc900/nuc900-audio.c +++ b/sound/soc/nuc900/nuc900-audio.c | |||
@@ -32,6 +32,7 @@ static struct snd_soc_dai_link nuc900evb_ac97_dai = { | |||
32 | 32 | ||
33 | static struct snd_soc_card nuc900evb_audio_machine = { | 33 | static struct snd_soc_card nuc900evb_audio_machine = { |
34 | .name = "NUC900EVB_AC97", | 34 | .name = "NUC900EVB_AC97", |
35 | .owner = THIS_MODULE, | ||
35 | .dai_link = &nuc900evb_ac97_dai, | 36 | .dai_link = &nuc900evb_ac97_dai, |
36 | .num_links = 1, | 37 | .num_links = 1, |
37 | }; | 38 | }; |