提交 23bd1ce4 编写于 作者: A Axel Lin 提交者: Mark Brown

ASoC: s6000: 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: NLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: NAxel Lin <axel.lin@gmail.com>
Acked-by: NDaniel Glöckner <dg@emlix.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 b5a67048
......@@ -187,6 +187,7 @@ static struct snd_soc_dai_link s6105_dai = {
/* s6105 audio machine driver */
static struct snd_soc_card snd_soc_card_s6105 = {
.name = "Stretch IP Camera",
.owner = THIS_MODULE,
.dai_link = &s6105_dai,
.num_links = 1,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册