Преглед на файлове

ASoC: imx_mc13783: 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 години
родител
ревизия
7464dcd061
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      sound/soc/fsl/imx-mc13783.c

+ 1 - 0
sound/soc/fsl/imx-mc13783.c

@@ -90,6 +90,7 @@ static const struct snd_soc_dapm_route imx_mc13783_routes[] = {
 
 static struct snd_soc_card imx_mc13783 = {
 	.name		= "imx_mc13783",
+	.owner		= THIS_MODULE,
 	.dai_link	= imx_mc13783_dai_mc13783,
 	.num_links	= ARRAY_SIZE(imx_mc13783_dai_mc13783),
 	.dapm_widgets	= imx_mc13783_widget,