ASoC: amd: Fixed build errors
authorVijendar Mukunda <[email protected]>
Thu, 15 Nov 2018 16:13:49 +0000 (21:43 +0530)
committerMark Brown <[email protected]>
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 <[email protected]>
Signed-off-by: Vijendar Mukunda <[email protected]>
Tested-by: Ravulapati Vishnu vardhan Rao <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
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