diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-07-02 17:26:40 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-15 11:11:46 +0100 |
commit | 3986b9829f638c8a7864e81cdb066aa3d79f05a5 (patch) | |
tree | b35d0861581bf811349d8a0998842f019c8a8ceb /sound/soc/pxa | |
parent | 0d6178662cf3dde6829ace63408f25cab42e21c3 (diff) | |
download | linux-3986b9829f638c8a7864e81cdb066aa3d79f05a5.tar.gz linux-3986b9829f638c8a7864e81cdb066aa3d79f05a5.tar.bz2 linux-3986b9829f638c8a7864e81cdb066aa3d79f05a5.zip |
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/soc/pxa')
-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), |