From: Vijendar Mukunda Date: Thu, 15 Nov 2018 16:13:49 +0000 (+0530) Subject: ASoC: amd: Fixed build errors X-Git-Tag: v5.0-rc1~180^2~7^2^2~147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c4fb2457e541c614792e6d9986bc95461e67e41;p=thirdparty%2Fkernel%2Flinux.git ASoC: amd: Fixed build errors Fixed build errors. - Implicit declaration of pci_enable_msi() & pci_disable_msi() api's for openrisc architecture. - type defaults to 'int' in declaration of 'module_pci_driver' Enabled build for x86 architecture. Reviewed-by: Alex Deucher Signed-off-by: Vijendar Mukunda Tested-by: Ravulapati Vishnu vardhan Rao Signed-off-by: Mark Brown --- diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index 5f3b56087ba12..33ebec990c2fb 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -22,5 +22,6 @@ config SND_SOC_AMD_CZ_RT5645_MACH config SND_SOC_AMD_ACP3x tristate "AMD Audio Coprocessor-v3.x support" + depends on X86 && PCI help This option enables ACP v3.x I2S support on AMD platform