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:
512fa7c
)
ASoC: mxs: Add .owner to struct snd_soc_card
author
Lothar Waßmann
<
[email protected]
>
Wed, 28 Dec 2011 12:06:21 +0000
(20:06 +0800)
committer
Mark Brown
<
[email protected]
>
Wed, 28 Dec 2011 17:20:48 +0000
(17:20 +0000)
Add missing .owner of struct snd_soc_card. This prevents the module from being
removed from underneath its users.
Signed-off-by: Lothar Waßmann <
[email protected]
>
Signed-off-by: Axel Lin <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/mxs/mxs-sgtl5000.c
patch
|
blob
|
history
diff --git
a/sound/soc/mxs/mxs-sgtl5000.c
b/sound/soc/mxs/mxs-sgtl5000.c
index 259278f95cdf12b26bf167be757118c478bf4a69..60f052b7cf223b6573a1116153552acb76849f0a 100644
(file)
--- a/
sound/soc/mxs/mxs-sgtl5000.c
+++ b/
sound/soc/mxs/mxs-sgtl5000.c
@@
-105,6
+105,7
@@
static struct snd_soc_dai_link mxs_sgtl5000_dai[] = {
static struct snd_soc_card mxs_sgtl5000 = {
.name = "mxs_sgtl5000",
+ .owner = THIS_MODULE,
.dai_link = mxs_sgtl5000_dai,
.num_links = ARRAY_SIZE(mxs_sgtl5000_dai),
};