Skip to contentSkip to conversation

ASoC: imx: Add .owner to struct snd_soc_card

PATCH Applied Axel Lin 4 participants 11 messages Dec 23, 2011

Subsystems (4)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/8 ASoC: imx: Add .owner to struct snd_soc_card

Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users.

---
 sound/soc/imx/eukrea-tlv320.c   |    1 +
 sound/soc/imx/mx27vis-aic32x4.c |    1 +
 sound/soc/imx/phycore-ac97.c    |    1 +
 sound/soc/imx/wm1133-ev1.c      |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)
sound/soc/imx/eukrea-tlv320.c +1 -0
index 75fb4b8..1c1fdd1 100644
@@ -87,6 +87,7 @@ static struct snd_soc_dai_link eukrea_tlv320_dai = {
 
 static struct snd_soc_card eukrea_tlv320 = {
 	.name		= "cpuimx-audio",
+	.owner		= THIS_MODULE,
 	.dai_link	= &eukrea_tlv320_dai,
 	.num_links	= 1,
 };
sound/soc/imx/mx27vis-aic32x4.c +1 -0
index 054110b..3c2eed9 100644
@@ -86,6 +86,7 @@ static struct snd_soc_dai_link mx27vis_aic32x4_dai = {
 
 static struct snd_soc_card mx27vis_aic32x4 = {
 	.name		= "visstrim_m10-audio",
+	.owner		= THIS_MODULE,
 	.dai_link	= &mx27vis_aic32x4_dai,
 	.num_links	= 1,
 };
sound/soc/imx/phycore-ac97.c +1 -0
index a7deb5c..6ac1211 100644
@@ -38,6 +38,7 @@ static struct snd_soc_dai_link imx_phycore_dai_ac97[] = {
 
 static struct snd_soc_card imx_phycore = {
 	.name		= "PhyCORE-ac97-audio",
+	.owner		= THIS_MODULE,
 	.dai_link	= imx_phycore_dai_ac97,
 	.num_links	= ARRAY_SIZE(imx_phycore_dai_ac97),
 };
sound/soc/imx/wm1133-ev1.c +1 -0
index 75b4c72..96fa761 100644
@@ -254,6 +254,7 @@ static struct snd_soc_dai_link wm1133_ev1_dai = {
 
 static struct snd_soc_card wm1133_ev1 = {
 	.name = "WM1133-EV1",
+	.owner = THIS_MODULE,
 	.dai_link = &wm1133_ev1_dai,
 	.num_links = 1,
 };
Signature · 8 lines
1.7.5.4



_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#1 lore raw

PATCH 2/8 ASoC: jz4740: Add .owner to struct snd_soc_card

Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users.

---
 sound/soc/jz4740/qi_lb60.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/jz4740/qi_lb60.c +1 -0
index c5fc339..0097c3b 100644
@@ -81,6 +81,7 @@ static struct snd_soc_dai_link qi_lb60_dai = {
 
 static struct snd_soc_card qi_lb60 = {
 	.name = "QI LB60",
+	.owner = THIS_MODULE,
 	.dai_link = &qi_lb60_dai,
 	.num_links = 1,
 
Signature · 8 lines
1.7.5.4



_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#2 lore raw

PATCH 3/8 ASoC: kirkwood: Add .owner to struct snd_soc_card

In reply to Axel Lin

Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users.

---
 sound/soc/kirkwood/kirkwood-openrd.c |    1 +
 sound/soc/kirkwood/kirkwood-t5325.c  |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
sound/soc/kirkwood/kirkwood-openrd.c +1 -0
index d863afb..8a5a3dd 100644
@@ -76,6 +76,7 @@ static struct snd_soc_dai_link openrd_client_dai[] = {
 
 static struct snd_soc_card openrd_client = {
 	.name = "OpenRD Client",
+	.owner = THIS_MODULE,
 	.dai_link = openrd_client_dai,
 	.num_links = ARRAY_SIZE(openrd_client_dai),
 };
sound/soc/kirkwood/kirkwood-t5325.c +1 -0
index c772b3c..a8930c7 100644
@@ -98,6 +98,7 @@ static struct snd_soc_dai_link t5325_dai[] = {
 
 static struct snd_soc_card t5325 = {
 	.name = "t5325",
+	.owner = THIS_MODULE,
 	.dai_link = t5325_dai,
 	.num_links = ARRAY_SIZE(t5325_dai),
 };
Signature · 8 lines
1.7.5.4



_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#3 lore raw

PATCH 4/8 ASoC: mid-x86: Add .owner to struct snd_soc_card

In reply to Axel Lin

Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users.

---
 sound/soc/mid-x86/mfld_machine.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/mid-x86/mfld_machine.c +1 -0
index 598f48c..3b942a7 100644
@@ -322,6 +322,7 @@ 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),
 };
Signature · 8 lines
1.7.5.4



_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#4 lore raw

PATCH 5/8 ASoC: nuc900: Add .owner to struct snd_soc_card

In reply to Axel Lin

Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users.

---
 sound/soc/nuc900/nuc900-audio.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/nuc900/nuc900-audio.c +1 -0
index 38a2d0d..2f6e6fd 100644
@@ -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,
 };
Signature · 8 lines
1.7.5.4



_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#5 lore raw

PATCH 6/8 ASoC: s6000: Add .owner to struct snd_soc_card

In reply to Axel Lin

Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users.

---
 sound/soc/s6000/s6105-ipcam.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/s6000/s6105-ipcam.c +1 -0
index 5890e43..58cfb1e 100644
@@ -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,
 };
Signature · 8 lines
1.7.5.4



_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#7 lore raw

PATCH 7/8 ASoC: sh: Add .owner to struct snd_soc_card

In reply to Axel Lin

Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users.

---
 sound/soc/sh/fsi-ak4642.c  |    1 +
 sound/soc/sh/fsi-da7210.c  |    1 +
 sound/soc/sh/fsi-hdmi.c    |    1 +
 sound/soc/sh/migor.c       |    1 +
 sound/soc/sh/sh7760-ac97.c |    1 +
 5 files changed, 5 insertions(+), 0 deletions(-)
sound/soc/sh/fsi-ak4642.c +1 -0
index 770a71a..9a69910 100644
@@ -48,6 +48,7 @@ static struct snd_soc_dai_link fsi_dai_link = {
 };
 
 static struct snd_soc_card fsi_soc_card  = {
+	.owner		= THIS_MODULE,
 	.dai_link	= &fsi_dai_link,
 	.num_links	= 1,
 };
sound/soc/sh/fsi-da7210.c +1 -0
index 59553fd..df6ba4d 100644
@@ -43,6 +43,7 @@ static struct snd_soc_dai_link fsi_da7210_dai = {
 
 static struct snd_soc_card fsi_soc_card = {
 	.name		= "FSI-DA7210",
+	.owner		= THIS_MODULE,
 	.dai_link	= &fsi_da7210_dai,
 	.num_links	= 1,
 };
sound/soc/sh/fsi-hdmi.c +1 -0
index d3d9fd8..55723e0 100644
@@ -38,6 +38,7 @@ static struct snd_soc_dai_link fsi_dai_link = {
 };
 
 static struct snd_soc_card fsi_soc_card  = {
+	.owner		= THIS_MODULE,
 	.dai_link	= &fsi_dai_link,
 	.num_links	= 1,
 };
sound/soc/sh/migor.c +1 -0
index 6088a6a..9d9ad8d 100644
@@ -164,6 +164,7 @@ static struct snd_soc_dai_link migor_dai = {
 /* migor audio machine driver */
 static struct snd_soc_card snd_soc_migor = {
 	.name = "Migo-R",
+	.owner = THIS_MODULE,
 	.dai_link = &migor_dai,
 	.num_links = 1,
 };
sound/soc/sh/sh7760-ac97.c +1 -0
index c62ae68..d77fbf7 100644
@@ -32,6 +32,7 @@ static struct snd_soc_dai_link sh7760_ac97_dai = {
 
 static struct snd_soc_card sh7760_ac97_soc_machine  = {
 	.name = "SH7760 AC97",
+	.owner = THIS_MODULE,
 	.dai_link = &sh7760_ac97_dai,
 	.num_links = 1,
 };
Signature · 8 lines
1.7.5.4



_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
author
#8 lore raw

PATCH 8/8 ASoC: txx9: Add .owner to struct snd_soc_card

In reply to Axel Lin

Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users.

---
 sound/soc/txx9/txx9aclc-generic.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/txx9/txx9aclc-generic.c +1 -0
index 9b5e283..b056a14 100644
@@ -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,
 };
Signature · 8 lines
1.7.5.4



_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Applied
#10 lore raw
In reply to Axel Lin
Quoted 2 lines · Axel Lin

Add missing .owner of struct snd_soc_card. This prevents the module from being removed from underneath its users.

Applied all, thanks.