mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
32561354b1
The tegra_cpuidle_pcie_irqs_in_use() function is stubbed out for non-ARM
builds, but now we can compile-test the Tegra pci driver on non-Tegra
ARM platforms as well, which results in a new link error:
drivers/pci/host/pci-tegra.o: In function `tegra_pcie_map_irq':
pci-tegra.c:(.text+0x288): undefined reference to `tegra_cpuidle_pcie_irqs_in_use'
drivers/pci/host/pci-tegra.o: In function `tegra_msi_map':
pci-tegra.c:(.text+0xba0): undefined reference to `tegra_cpuidle_pcie_irqs_in_use'
This adapts the #ifdef statement to match the exact condition under which
the function can be called.
Fixes:
|
||
---|---|---|
.. | ||
arc | ||
at91 | ||
bcm2835 | ||
brcmstb | ||
fsl | ||
imx | ||
mediatek | ||
nps | ||
rockchip | ||
sa1100 | ||
tegra |