summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2016-12-07 15:05:59 -0600
committerBjorn Helgaas <bhelgaas@google.com>2016-12-07 15:05:59 -0600
commit1177f76a7e7e52d4be3c78247b30ab73cabf7164 (patch)
tree5f7eb3159cba9d2716944a2a963184c04cbb5cc4 /drivers/pci
parentb8ab8e041cc0356323c1e4aee8047ea479650340 (diff)
downloadlinux-1177f76a7e7e52d4be3c78247b30ab73cabf7164.tar.gz
linux-1177f76a7e7e52d4be3c78247b30ab73cabf7164.tar.xz
PCI: rockchip: Add Kconfig COMPILE_TEST
Allow selection of the Rockchip driver for compile testing, even if we aren't building for ARCH_ROCKCHIP. [bhelgaas: changelog] Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
index d7e7c0a827c3..096440ec75f9 100644
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
@@ -276,7 +276,7 @@ config PCIE_ARTPEC6
config PCIE_ROCKCHIP
bool "Rockchip PCIe controller"
- depends on ARCH_ROCKCHIP
+ depends on ARCH_ROCKCHIP || COMPILE_TEST
depends on OF
depends on PCI_MSI_IRQ_DOMAIN
select MFD_SYSCON