On 11/13/18 9:26 PM, Stephen Rothwell wrote:
Hi all,
Changes since 20181113:
on i386 or x86_64: when CONFIG_PCI is not enabled.
../sound/soc/amd/raven/pci-acp3x.c: In function 'snd_acp3x_probe': ../sound/soc/amd/raven/pci-acp3x.c:59:2: error: implicit declaration of function 'pci_enable_msi' [-Werror=implicit-function-declaration] ret = pci_enable_msi(pci); ^ ../sound/soc/amd/raven/pci-acp3x.c:124:2: error: implicit declaration of function 'pci_disable_msi' [-Werror=implicit-function-declaration] pci_disable_msi(pci); ^ ../sound/soc/amd/raven/pci-acp3x.c: At top level: ../sound/soc/amd/raven/pci-acp3x.c:161:1: warning: data definition has no type or storage class [enabled by default] module_pci_driver(acp3x_driver); ^ ../sound/soc/amd/raven/pci-acp3x.c:161:1: error: type defaults to 'int' in declaration of 'module_pci_driver' [-Werror=implicit-int] ../sound/soc/amd/raven/pci-acp3x.c:161:1: warning: parameter names (without types) in function declaration [enabled by default] ../sound/soc/amd/raven/pci-acp3x.c:154:26: warning: 'acp3x_driver' defined but not used [-Wunused-variable] static struct pci_driver acp3x_driver = { ^
config SND_SOC_AMD_ACP3x tristate "AMD Audio Coprocessor-v3.x support" help This option enables ACP v3.x I2S support on AMD platform
Needs "depends on PCI"??