summaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorKyle McMartin2013-08-27 20:52:34 +0200
committerOlof Johansson2013-08-29 22:54:34 +0200
commitf97c43bbdf8a1ea42477b1a804a48e7e368cb13c (patch)
tree877f116ace73eb520ee9225567cc8c6141301c2d /drivers/pci/probe.c
parentPCI: tegra: replace devm_request_and_ioremap by devm_ioremap_resource (diff)
downloadkernel-qcow2-linux-f97c43bbdf8a1ea42477b1a804a48e7e368cb13c.tar.gz
kernel-qcow2-linux-f97c43bbdf8a1ea42477b1a804a48e7e368cb13c.tar.xz
kernel-qcow2-linux-f97c43bbdf8a1ea42477b1a804a48e7e368cb13c.zip
tegra-cpuidle: provide stub when !CONFIG_CPU_IDLE
While poking at something using the for-3.12/* trees, I hit the following compile error: drivers/built-in.o: In function `tegra_pcie_map_irq': /builddir/build/BUILD/kernel-3.10.fc20/linux-3.11.0-0.rc6.git4.1.fc20.armv7hl/drivers/pci/host/pci-tegra.c:640: undefined reference to `tegra_cpuidle_pcie_irqs_in_use' drivers/built-in.o: In function `tegra_msi_map': /builddir/build/BUILD/kernel-3.10.fc20/linux-3.11.0-0.rc6.git4.1.fc20.armv7hl/drivers/pci/host/pci-tegra.c:1227: undefined reference to `tegra_cpuidle_pcie_irqs_in_use' make: *** [vmlinux] Error 1 Since our .config had CONFIG_CPU_IDLE off. We should probably provide an empty function to handle this to avoid cluttering up pci-tegra.c with conditionals. Signed-off-by: Kyle McMartin <kyle@redhat.com> Reviewed-by: Thierry Reding <treding@nvidia.com> [swarren, removed unnecessary return statement] Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions