浏览代码

ASoC: ttc_dkb: 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>
Wei Yongjun 12 年之前
父节点
当前提交
3986b9829f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sound/soc/pxa/ttc-dkb.c

+ 1 - 0
sound/soc/pxa/ttc-dkb.c

@@ -122,6 +122,7 @@ static struct snd_soc_dai_link ttc_pm860x_hifi_dai[] = {
 /* ttc/td audio machine driver */
 static struct snd_soc_card ttc_dkb_card = {
 	.name = "ttc-dkb-hifi",
+	.owner = THIS_MODULE,
 	.dai_link = ttc_pm860x_hifi_dai,
 	.num_links = ARRAY_SIZE(ttc_pm860x_hifi_dai),