PCI: rockchip: Add Kconfig COMPILE_TEST
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 7 Dec 2016 21:05:59 +0000 (15:05 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 7 Dec 2016 21:05:59 +0000 (15:05 -0600)
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>
drivers/pci/host/Kconfig

index d7e7c0a827c3526dec77709298fc56a40ee5954e..096440ec75f997984b4fa3b7ba7b77eea53b89f6 100644 (file)
@@ -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