diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-07-02 05:26:21 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-15 06:11:46 -0400 |
commit | 0d6178662cf3dde6829ace63408f25cab42e21c3 (patch) | |
tree | a7c1329844e7b482eaa6409300c41292da5cb305 /sound/soc/pxa/brownstone.c | |
parent | ad81f0545ef01ea651886dddac4bef6cec930092 (diff) |
ASoC: brownstone: 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.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/pxa/brownstone.c')
-rw-r--r-- | sound/soc/pxa/brownstone.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/brownstone.c b/sound/soc/pxa/brownstone.c index 4ad76099dd43..5b7d969f89a9 100644 --- a/sound/soc/pxa/brownstone.c +++ b/sound/soc/pxa/brownstone.c | |||
@@ -129,6 +129,7 @@ static struct snd_soc_dai_link brownstone_wm8994_dai[] = { | |||
129 | /* audio machine driver */ | 129 | /* audio machine driver */ |
130 | static struct snd_soc_card brownstone = { | 130 | static struct snd_soc_card brownstone = { |
131 | .name = "brownstone", | 131 | .name = "brownstone", |
132 | .owner = THIS_MODULE, | ||
132 | .dai_link = brownstone_wm8994_dai, | 133 | .dai_link = brownstone_wm8994_dai, |
133 | .num_links = ARRAY_SIZE(brownstone_wm8994_dai), | 134 | .num_links = ARRAY_SIZE(brownstone_wm8994_dai), |
134 | 135 | ||