Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: amd: acp-config: Remove legacy acpi based machine struct

We have moved legacy based machine struct into platform driver to
resolve module dependency with non-SOF ALSA build, hence removed
it from acp-config driver module.

Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20211117093734.17407-11-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Ajit Kumar Pandey and committed by
Mark Brown
63fba90f ec25a3b1

-11
-10
sound/soc/amd/acp-config.c
··· 68 68 }; 69 69 EXPORT_SYMBOL(snd_soc_acpi_amd_sof_machines); 70 70 71 - struct snd_soc_acpi_mach snd_soc_acpi_amd_acp_machines[] = { 72 - { 73 - .id = "AMDI1019", 74 - .drv_name = "renoir-acp", 75 - .pdata = (void *)&acp_quirk_data, 76 - }, 77 - {}, 78 - }; 79 - EXPORT_SYMBOL(snd_soc_acpi_amd_acp_machines); 80 - 81 71 MODULE_LICENSE("Dual BSD/GPL");
-1
sound/soc/amd/mach-config.h
··· 18 18 #define ACP_PCI_DEV_ID 0x15E2 19 19 20 20 extern struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[]; 21 - extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp_machines[]; 22 21 23 22 struct config_entry { 24 23 u32 flags;