]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: amd: acp: Fix acp_resource duplicate symbol error
authorVenkata Prasad Potturu <venkataprasad.potturu@amd.com>
Mon, 17 Mar 2025 07:24:08 +0000 (12:54 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 17 Mar 2025 10:16:33 +0000 (10:16 +0000)
commit09dc8031f4a84103f4ba8f704ec21f1926b04366
treeb38a543eda4175737bfa0cb83e85b2a57ccac790
parent9c2c0ef6400980f09b377be250f5dff14dbbf3b6
ASoC: amd: acp: Fix acp_resource duplicate symbol error

Fix acp_resource structure duplicate defination error by adding
export symbol and extern keyword in header file.

ld.lld: error: duplicate symbol: acp63_rsrc
ld.lld: error: duplicate symbol: acp70_rsrc

Fixes: f8b4f3f525e8 ("ASoC: amd: acp: Refactor acp70 platform resource structure")
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-2-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-legacy-common.c
sound/soc/amd/acp/amd.h