diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-05-28 17:55:29 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-06-02 10:17:47 +0200 |
commit | 32561354b16944e784e82a2011765c50e77e1c56 (patch) | |
tree | e88eb3a520ae4d23f232d432bd3ecafa15931eff /drivers/cpufreq/s3c2410-cpufreq.c | |
parent | Merge tag 'v4.18-rockchip-drivers-2' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
download | linux-32561354b16944e784e82a2011765c50e77e1c56.tar.xz linux-32561354b16944e784e82a2011765c50e77e1c56.zip |
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: 51bc085d6454 ("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>
Diffstat (limited to 'drivers/cpufreq/s3c2410-cpufreq.c')
0 files changed, 0 insertions, 0 deletions