summaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-07-02 17:26:40 +0800
committerMark Brown <broonie@linaro.org>2013-07-15 11:11:46 +0100
commit3986b9829f638c8a7864e81cdb066aa3d79f05a5 (patch)
treeb35d0861581bf811349d8a0998842f019c8a8ceb /sound/soc/pxa
parent0d6178662cf3dde6829ace63408f25cab42e21c3 (diff)
downloadop-kernel-dev-3986b9829f638c8a7864e81cdb066aa3d79f05a5.zip
op-kernel-dev-3986b9829f638c8a7864e81cdb066aa3d79f05a5.tar.gz
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/ttc-dkb.c b/sound/soc/pxa/ttc-dkb.c
index f4ea4f6..13c9ee0 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),
OpenPOWER on IntegriCloud