Skip to content

Commit 664d66d

Browse files
zhengbin13broonie
authored andcommitted
ASoC: SOF: Intel: Fix build error without SND_SOC_SOF_PCI_DEV
If SND_SOC_SOF_PCI_DEV is n, bulding fails: sound/soc/sof/intel/pci-tng.o:(.data+0x1c0): undefined reference to `sof_pci_probe' sound/soc/sof/intel/pci-tng.o:(.data+0x1c8): undefined reference to `sof_pci_remove' sound/soc/sof/intel/pci-tng.o:(.data+0x1e0): undefined reference to `sof_pci_shutdown' sound/soc/sof/intel/pci-tng.o:(.data+0x290): undefined reference to `sof_pci_pm' Make SND_SOC_SOF_MERRIFIELD select SND_SOC_SOF_PCI_DEV to fix this. Fixes: 8d4ba1b ("ASoC: SOF: pci: split PCI into different drivers") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zheng Bin <zhengbin13@huawei.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220323092501.145879-1-zhengbin13@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 2f45a4e commit 664d66d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/sof/intel/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ if SND_SOC_SOF_PCI
8484
config SND_SOC_SOF_MERRIFIELD
8585
tristate "SOF support for Tangier/Merrifield"
8686
default SND_SOC_SOF_PCI
87+
select SND_SOC_SOF_PCI_DEV
8788
select SND_SOC_SOF_INTEL_ATOM_HIFI_EP
8889
help
8990
This adds support for Sound Open Firmware for Intel(R) platforms

0 commit comments

Comments
 (0)