]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: imx_mc13783: add .owner to struct snd_soc_card
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 2 Jul 2013 09:26:00 +0000 (17:26 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:10:36 +0000 (11:10 +0100)
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>
sound/soc/fsl/imx-mc13783.c

index 9df173c091a66b4fbb676036b9a66cacfe2eff17..a3d60d4bea4ce8ace84d2860921b5c46d3f00895 100644 (file)
@@ -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,