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:
b5a6704
)
ASoC: s6000: Add .owner to struct snd_soc_card
author
Axel Lin
<
[email protected]
>
Fri, 23 Dec 2011 06:52:22 +0000
(14:52 +0800)
committer
Mark Brown
<
[email protected]
>
Fri, 23 Dec 2011 11:32:00 +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]
>
Acked-by: Daniel Glöckner <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/s6000/s6105-ipcam.c
patch
|
blob
|
history
diff --git
a/sound/soc/s6000/s6105-ipcam.c
b/sound/soc/s6000/s6105-ipcam.c
index 5890e431852f1cc5d0f0d663595a0543db14a66c..58cfb1eb7dd3aece2e20b7c45421b0aa5cab5533 100644
(file)
--- a/
sound/soc/s6000/s6105-ipcam.c
+++ b/
sound/soc/s6000/s6105-ipcam.c
@@
-187,6
+187,7
@@
static struct snd_soc_dai_link s6105_dai = {
/* s6105 audio machine driver */
static struct snd_soc_card snd_soc_card_s6105 = {
.name = "Stretch IP Camera",
+ .owner = THIS_MODULE,
.dai_link = &s6105_dai,
.num_links = 1,
};