]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
PCI: tegra: Do not build on 64-bit ARM
authorThierry Reding <treding@nvidia.com>
Wed, 12 Nov 2014 13:53:37 +0000 (14:53 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Nov 2014 19:03:28 +0000 (12:03 -0700)
32-bit and 64-bit ARM use very different infrastructure to register a PCI
host bridge.  The Tegra PCIe host controller driver currently only supports
the 32-bit ARM infrastructure, so prevent it from being built on 64-bit ARM
where it will break.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/Kconfig

index 3dc25fad490c84564f6143219fa94c17eac71b48..9c56137e5e5e3c015f5a579a3a08f1e76eae0d2e 100644 (file)
@@ -32,7 +32,7 @@ config PCI_IMX6
 
 config PCI_TEGRA
        bool "NVIDIA Tegra PCIe controller"
-       depends on ARCH_TEGRA
+       depends on ARCH_TEGRA && !ARM64
 
 config PCI_RCAR_GEN2
        bool "Renesas R-Car Gen2 Internal PCI controller"