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:
1d9d25b
)
ASoC: nuc900: Add .owner to struct snd_soc_card
author
Axel Lin
<
[email protected]
>
Fri, 23 Dec 2011 06:51:17 +0000
(14:51 +0800)
committer
Mark Brown
<
[email protected]
>
Fri, 23 Dec 2011 11:16:58 +0000
(11:16 +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/nuc900/nuc900-audio.c
patch
|
blob
|
history
diff --git
a/sound/soc/nuc900/nuc900-audio.c
b/sound/soc/nuc900/nuc900-audio.c
index 38a2d0d883b53f592e5512546c9245ca57399209..2f6e6fd6e05c64c3fa49faad83a10245ec18d43b 100644
(file)
--- a/
sound/soc/nuc900/nuc900-audio.c
+++ b/
sound/soc/nuc900/nuc900-audio.c
@@
-32,6
+32,7
@@
static struct snd_soc_dai_link nuc900evb_ac97_dai = {
static struct snd_soc_card nuc900evb_audio_machine = {
.name = "NUC900EVB_AC97",
+ .owner = THIS_MODULE,
.dai_link = &nuc900evb_ac97_dai,
.num_links = 1,
};