The sof-pci-dev driver fails to link when built into the kernel
and CONFIG_SND_INTEL_DSP_CONFIG is set to =m:
arm-linux-gnueabi-ld: sound/soc/sof/sof-pci-dev.o: in function `sof_pci_probe':
sof-pci-dev.c:(.text+0x1c): undefined reference to `snd_intel_dsp_driver_probe'
As a temporary fix, use IS_REACHABLE to prevent the problem from
happening. A more complete solution is to move this code to
Intel-specific parts, restructure the drivers and Kconfig as discussed
with Arnd Bergmann and Takashi Iwai.
Fixes:
|
||
|---|---|---|
| .. | ||
| imx | ||
| intel | ||
| xtensa | ||
| compress.c | ||
| compress.h | ||
| control.c | ||
| core.c | ||
| debug.c | ||
| ipc.c | ||
| Kconfig | ||
| loader.c | ||
| Makefile | ||
| nocodec.c | ||
| ops.c | ||
| ops.h | ||
| pcm.c | ||
| pm.c | ||
| probe.c | ||
| probe.h | ||
| sof-acpi-dev.c | ||
| sof-audio.c | ||
| sof-audio.h | ||
| sof-of-dev.c | ||
| sof-pci-dev.c | ||
| sof-priv.h | ||
| topology.c | ||
| trace.c | ||
| utils.c | ||