projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d61786
)
ASoC: ttc_dkb: add .owner to struct snd_soc_card
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Tue, 2 Jul 2013 09:26:40 +0000
(17:26 +0800)
committer
Mark Brown
<broonie@linaro.org>
Mon, 15 Jul 2013 10:11:46 +0000
(11:11 +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/pxa/ttc-dkb.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/pxa/ttc-dkb.c
b/sound/soc/pxa/ttc-dkb.c
index f4ea4f6663a2c0d396997d7aef5cc1871f6ea6e5..13c9ee0cb83b988b06cb9b84963128b1cd703032 100644
(file)
--- 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),