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:
4a7042e
)
ASoC: txx9: Add .owner to struct snd_soc_card
author
Axel Lin
<
[email protected]
>
Fri, 23 Dec 2011 06:54:30 +0000
(14:54 +0800)
committer
Mark Brown
<
[email protected]
>
Fri, 23 Dec 2011 11:32:08 +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/txx9/txx9aclc-generic.c
patch
|
blob
|
history
diff --git
a/sound/soc/txx9/txx9aclc-generic.c
b/sound/soc/txx9/txx9aclc-generic.c
index 9b5e283af51c68e2611dadbbaeae4cd9db9a9ea6..b056a1431ed41024a6d245374e42ff739eb0e365 100644
(file)
--- a/
sound/soc/txx9/txx9aclc-generic.c
+++ b/
sound/soc/txx9/txx9aclc-generic.c
@@
-32,6
+32,7
@@
static struct snd_soc_dai_link txx9aclc_generic_dai = {
static struct snd_soc_card txx9aclc_generic_card = {
.name = "Generic TXx9 ACLC Audio",
+ .owner = THIS_MODULE,
.dai_link = &txx9aclc_generic_dai,
.num_links = 1,
};