]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: SOF: Intel: hda: Fix COMPILE_TEST build error
authorYueHaibing <yuehaibing@huawei.com>
Fri, 31 May 2019 14:25:26 +0000 (22:25 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 4 Jun 2019 14:30:22 +0000 (15:30 +0100)
commitad169f9f0dbb531cd68db921b351ccafcf684ae4
tree2d165d30732b210fdd3668683f2f3d9f26b02894
parent14104eb6a351a5bad21fdd2cf05ca46ad5e5beab
ASoC: SOF: Intel: hda: Fix COMPILE_TEST build error

while building without PCI:

sound/soc/sof/intel/hda.o: In function `hda_dsp_probe':
hda.c:(.text+0x79c): undefined reference to `pci_ioremap_bar'
hda.c:(.text+0x79c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `pci_ioremap_bar'
hda.c:(.text+0x7c4): undefined reference to `pci_ioremap_bar'
hda.c:(.text+0x7c4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `pci_ioremap_bar'

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: e13ef82a9ab8 ("ASoC: SOF: add COMPILE_TEST for PCI options")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c