ASoC: amd: Fixed build errors
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Thu, 15 Nov 2018 16:13:49 +0000 (21:43 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Nov 2018 19:18:57 +0000 (11:18 -0800)
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 <alexander.deucher@amd.com>
Signed-off-by: Vijendar Mukunda <vijendar.mukunda@amd.com>
Tested-by: Ravulapati Vishnu vardhan Rao <Vishnuvardhanrao.Ravulapati@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/Kconfig

index 5f3b56087ba1289689582c154411a7c4861a1819..33ebec990c2fbae72670588075140040d6f5aa33 100644 (file)
@@ -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