]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: amd: acp: Fix snd_soc_acpi_mach id's duplicate symbol error
authorVenkata Prasad Potturu <venkataprasad.potturu@amd.com>
Mon, 17 Mar 2025 07:24:07 +0000 (12:54 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 17 Mar 2025 10:16:32 +0000 (10:16 +0000)
commit9c2c0ef6400980f09b377be250f5dff14dbbf3b6
treeaf856eba7709e4852afe6a0f8eb8229fce4014f8
parent3cab1fc85f9d381de6767fe97299eecdb8c868fa
ASoC: amd: acp: Fix snd_soc_acpi_mach id's duplicate symbol error

Move snd_soc_acpi_mach id's of all acp platforms form header file to
amd-acpi-mach.c file to avoid below errors.

ld.lld: error: duplicate symbol: amp_rt1019
ld.lld: error: duplicate symbol: amp_max
ld.lld: error: duplicate symbol: snd_soc_acpi_amd_acp63_acp_machines
ld.lld: error: duplicate symbol: snd_soc_acpi_amd_acp70_acp_machines
ld.lld: error: duplicate symbol: snd_soc_acpi_amd_rmb_acp_machines
ld.lld: error: duplicate symbol: snd_soc_acpi_amd_acp_machines

Fixes: 6e60db74b69c ("ASoC: amd: acp: Refactor acp machine select")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503160801.yExt0K2E-lkp@intel.com/
Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://patch.msgid.link/20250317072413.88971-1-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/Kconfig
sound/soc/amd/acp/Makefile
sound/soc/amd/acp/acp-pci.c
sound/soc/amd/acp/amd-acpi-mach.c [new file with mode: 0644]
sound/soc/amd/acp/amd.h