WSL2-Linux-Kernel/include/soc/tegra
Arnd Bergmann 32561354b1 ARM: tegra: fix compile-testing PCI host driver
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: 51bc085d64 ("PCI: Improve host drivers compile test coverage")
Cc: Rob Herring <robh@kernel.org>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2018-06-02 01:17:47 -07:00
..
ahb.h ARM: tegra: Move includes to include/soc/tegra 2014-07-17 13:26:47 +02:00
bpmp-abi.h soc/tegra: bpmp: Update ABI header 2017-06-13 15:16:25 +02:00
bpmp.h firmware: tegra: Simplify channel management 2018-03-08 14:20:58 +01:00
common.h soc/tegra: Implement runtime check for Tegra SoCs 2014-07-17 14:58:41 +02:00
cpuidle.h ARM: tegra: fix compile-testing PCI host driver 2018-06-02 01:17:47 -07:00
emc.h memory: tegra: Add EMC (external memory controller) driver 2015-05-05 11:12:17 +02:00
flowctrl.h soc/tegra: Move Tegra flowctrl driver 2017-04-04 15:48:04 +02:00
fuse.h soc/tegra: Register SoC device 2017-08-17 16:43:13 +02:00
ivc.h firmware: tegra: Add IVC library 2016-11-18 14:33:42 +01:00
mc.h memory: tegra: Introduce memory client hot reset 2018-04-30 10:12:21 +02:00
pm.h soc/tegra: pmc: restrict compilation of suspend-related support to ARM 2015-01-09 13:41:19 +01:00
pmc.h soc/tegra: pmc: Consolidate Tegra186 support 2017-12-13 13:06:44 +01:00