summaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-07-02 11:26:40 +0200
committerMark Brown <broonie@linaro.org>2013-07-15 12:11:46 +0200
commit3986b9829f638c8a7864e81cdb066aa3d79f05a5 (patch)
treeb35d0861581bf811349d8a0998842f019c8a8ceb /sound/soc/pxa
parentASoC: brownstone: add .owner to struct snd_soc_card (diff)
downloadlinux-3986b9829f638c8a7864e81cdb066aa3d79f05a5.tar.xz
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.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 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),