diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-23 01:48:19 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-23 06:16:57 -0500 |
commit | 1d9d25b35261af7892df7d339b6c34ed648ccd57 (patch) | |
tree | 41b860feea5980cf20c2d2d6bbf4aaa98e412a37 /sound/soc/jz4740 | |
parent | 6aff8ccb0cdd14be2acaa7cf397842005752b0f3 (diff) |
ASoC: jz4740: 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/jz4740')
-rw-r--r-- | sound/soc/jz4740/qi_lb60.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/jz4740/qi_lb60.c b/sound/soc/jz4740/qi_lb60.c index c5fc339f68f1..0097c3b13a1a 100644 --- a/sound/soc/jz4740/qi_lb60.c +++ b/sound/soc/jz4740/qi_lb60.c | |||
@@ -81,6 +81,7 @@ static struct snd_soc_dai_link qi_lb60_dai = { | |||
81 | 81 | ||
82 | static struct snd_soc_card qi_lb60 = { | 82 | static struct snd_soc_card qi_lb60 = { |
83 | .name = "QI LB60", | 83 | .name = "QI LB60", |
84 | .owner = THIS_MODULE, | ||
84 | .dai_link = &qi_lb60_dai, | 85 | .dai_link = &qi_lb60_dai, |
85 | .num_links = 1, | 86 | .num_links = 1, |
86 | 87 | ||