projects
/
GitHub
/
LineageOS
/
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:
ad81f05
)
ASoC: mop500: add .owner to struct snd_soc_card
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Tue, 2 Jul 2013 09:25:37 +0000
(17:25 +0800)
committer
Mark Brown
<broonie@linaro.org>
Mon, 15 Jul 2013 10:12:24 +0000
(11:12 +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/ux500/mop500.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/ux500/mop500.c
b/sound/soc/ux500/mop500.c
index 8f5cd00a6e468622af895ed4faebeaf78d7b8f9e..178d1bad62591565589803f52c859a2062044df2 100644
(file)
--- a/
sound/soc/ux500/mop500.c
+++ b/
sound/soc/ux500/mop500.c
@@
-52,6
+52,7
@@
static struct snd_soc_dai_link mop500_dai_links[] = {
static struct snd_soc_card mop500_card = {
.name = "MOP500-card",
+ .owner = THIS_MODULE,
.probe = NULL,
.dai_link = mop500_dai_links,
.num_links = ARRAY_SIZE(mop500_dai_links),