projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b344ce
)
ASoC: mid-x86: Add .owner to struct snd_soc_card
author
Axel Lin
<
[email protected]
>
Fri, 23 Dec 2011 06:50:17 +0000
(14:50 +0800)
committer
Mark Brown
<
[email protected]
>
Fri, 23 Dec 2011 11:32:09 +0000
(11:32 +0000)
Add missing .owner of struct snd_soc_card. This prevents the module from being
removed from underneath its users.
Reported-by: Lothar Waßmann <
[email protected]
>
Signed-off-by: Axel Lin <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/mid-x86/mfld_machine.c
patch
|
blob
|
history
diff --git
a/sound/soc/mid-x86/mfld_machine.c
b/sound/soc/mid-x86/mfld_machine.c
index 8ae057433968f6f7daa650ad43d72945eb31cc2a..6f77eef0f13164b08507c15a1c554e9a1f35c9dc 100644
(file)
--- a/
sound/soc/mid-x86/mfld_machine.c
+++ b/
sound/soc/mid-x86/mfld_machine.c
@@
-323,6
+323,7
@@
static struct snd_soc_dai_link mfld_msic_dailink[] = {
/* SoC card */
static struct snd_soc_card snd_soc_card_mfld = {
.name = "medfield_audio",
+ .owner = THIS_MODULE,
.dai_link = mfld_msic_dailink,
.num_links = ARRAY_SIZE(mfld_msic_dailink),
};