Skip to content

Commit b88056d

Browse files
plbossartbroonie
authored andcommitted
ASoC: SOF: AMD: group all module related information
The module information is spread across files, group in a single location. For maintenability and alignment, the arbitrary Intel convention is used with the following order: MODULE_LICENSE MODULE_DESCRIPTION MODULE_IMPORT Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Daniel Baluta <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent e30a942 commit b88056d

File tree

8 files changed

+4
-16
lines changed

8 files changed

+4
-16
lines changed

sound/soc/sof/amd/acp63.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,3 @@ int sof_acp63_ops_init(struct snd_sof_dev *sdev)
140140

141141
return 0;
142142
}
143-
144-
MODULE_IMPORT_NS(SND_SOC_SOF_AMD_COMMON);
145-
MODULE_DESCRIPTION("ACP63 SOF Driver");
146-
MODULE_LICENSE("Dual BSD/GPL");

sound/soc/sof/amd/pci-acp63.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,6 @@ static struct pci_driver snd_sof_pci_amd_acp63_driver = {
109109
module_pci_driver(snd_sof_pci_amd_acp63_driver);
110110

111111
MODULE_LICENSE("Dual BSD/GPL");
112+
MODULE_DESCRIPTION("ACP63 SOF Driver");
112113
MODULE_IMPORT_NS(SND_SOC_SOF_AMD_COMMON);
113114
MODULE_IMPORT_NS(SND_SOC_SOF_PCI_DEV);

sound/soc/sof/amd/pci-rmb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,6 @@ static struct pci_driver snd_sof_pci_amd_rmb_driver = {
9999
module_pci_driver(snd_sof_pci_amd_rmb_driver);
100100

101101
MODULE_LICENSE("Dual BSD/GPL");
102+
MODULE_DESCRIPTION("REMBRANDT SOF Driver");
102103
MODULE_IMPORT_NS(SND_SOC_SOF_AMD_COMMON);
103104
MODULE_IMPORT_NS(SND_SOC_SOF_PCI_DEV);

sound/soc/sof/amd/pci-rn.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,6 @@ static struct pci_driver snd_sof_pci_amd_rn_driver = {
103103
module_pci_driver(snd_sof_pci_amd_rn_driver);
104104

105105
MODULE_LICENSE("Dual BSD/GPL");
106+
MODULE_DESCRIPTION("RENOIR SOF Driver");
106107
MODULE_IMPORT_NS(SND_SOC_SOF_AMD_COMMON);
107108
MODULE_IMPORT_NS(SND_SOC_SOF_PCI_DEV);

sound/soc/sof/amd/pci-vangogh.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,6 @@ static struct pci_driver snd_sof_pci_amd_vgh_driver = {
101101
module_pci_driver(snd_sof_pci_amd_vgh_driver);
102102

103103
MODULE_LICENSE("Dual BSD/GPL");
104+
MODULE_DESCRIPTION("VANGOGH SOF Driver");
104105
MODULE_IMPORT_NS(SND_SOC_SOF_AMD_COMMON);
105106
MODULE_IMPORT_NS(SND_SOC_SOF_PCI_DEV);

sound/soc/sof/amd/rembrandt.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,3 @@ int sof_rembrandt_ops_init(struct snd_sof_dev *sdev)
140140

141141
return 0;
142142
}
143-
144-
MODULE_IMPORT_NS(SND_SOC_SOF_AMD_COMMON);
145-
MODULE_DESCRIPTION("REMBRANDT SOF Driver");
146-
MODULE_LICENSE("Dual BSD/GPL");

sound/soc/sof/amd/renoir.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,3 @@ int sof_renoir_ops_init(struct snd_sof_dev *sdev)
115115

116116
return 0;
117117
}
118-
119-
MODULE_IMPORT_NS(SND_SOC_SOF_AMD_COMMON);
120-
MODULE_DESCRIPTION("RENOIR SOF Driver");
121-
MODULE_LICENSE("Dual BSD/GPL");

sound/soc/sof/amd/vangogh.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,3 @@ int sof_vangogh_ops_init(struct snd_sof_dev *sdev)
161161

162162
return 0;
163163
}
164-
165-
MODULE_IMPORT_NS(SND_SOC_SOF_AMD_COMMON);
166-
MODULE_DESCRIPTION("VANGOGH SOF Driver");
167-
MODULE_LICENSE("Dual BSD/GPL");

0 commit comments

Comments
 (0)