Commit 0d617866 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent ad81f054
...@@ -129,6 +129,7 @@ static struct snd_soc_dai_link brownstone_wm8994_dai[] = { ...@@ -129,6 +129,7 @@ static struct snd_soc_dai_link brownstone_wm8994_dai[] = {
/* audio machine driver */ /* audio machine driver */
static struct snd_soc_card brownstone = { static struct snd_soc_card brownstone = {
.name = "brownstone", .name = "brownstone",
.owner = THIS_MODULE,
.dai_link = brownstone_wm8994_dai, .dai_link = brownstone_wm8994_dai,
.num_links = ARRAY_SIZE(brownstone_wm8994_dai), .num_links = ARRAY_SIZE(brownstone_wm8994_dai),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment