diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-23 01:53:32 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-23 06:32:07 -0500 |
commit | 4a7042e59908231fc046aac88bd98454d886052d (patch) | |
tree | 34799035a4288be3c32d4b20328b68cb13ab3d67 /sound/soc/sh/sh7760-ac97.c | |
parent | 23bd1ce48f0b2721f0f37087d8acd9fe57f895d7 (diff) |
ASoC: sh: 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/sh/sh7760-ac97.c')
-rw-r--r-- | sound/soc/sh/sh7760-ac97.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sh/sh7760-ac97.c b/sound/soc/sh/sh7760-ac97.c index df651e8e38d..4a3568a9bf5 100644 --- a/sound/soc/sh/sh7760-ac97.c +++ b/sound/soc/sh/sh7760-ac97.c | |||
@@ -28,6 +28,7 @@ static struct snd_soc_dai_link sh7760_ac97_dai = { | |||
28 | 28 | ||
29 | static struct snd_soc_card sh7760_ac97_soc_machine = { | 29 | static struct snd_soc_card sh7760_ac97_soc_machine = { |
30 | .name = "SH7760 AC97", | 30 | .name = "SH7760 AC97", |
31 | .owner = THIS_MODULE, | ||
31 | .dai_link = &sh7760_ac97_dai, | 32 | .dai_link = &sh7760_ac97_dai, |
32 | .num_links = 1, | 33 | .num_links = 1, |
33 | }; | 34 | }; |