diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-07-02 13:26:40 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-15 14:11:46 +0400 |
commit | 3986b9829f638c8a7864e81cdb066aa3d79f05a5 (patch) | |
tree | b35d0861581bf811349d8a0998842f019c8a8ceb /sound | |
parent | 0d6178662cf3dde6829ace63408f25cab42e21c3 (diff) | |
download | linux-3986b9829f638c8a7864e81cdb066aa3d79f05a5.tar.xz |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/pxa/ttc-dkb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/ttc-dkb.c b/sound/soc/pxa/ttc-dkb.c index f4ea4f6663a2..13c9ee0cb83b 100644 --- a/sound/soc/pxa/ttc-dkb.c +++ b/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), |