pci: kconfig: Setup proper dependency for PCIE_ROCKCHIP
authorMichal Simek <michal.simek@xilinx.com>
Wed, 19 Aug 2020 08:44:15 +0000 (10:44 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 27 Aug 2020 15:20:33 +0000 (11:20 -0400)
There is missing dependency for PCIE_ROCKCHIP which selects
PHY_ROCKCHIP_PCIE which directly depends on ARCH_ROCKCHIP.

WARNING: unmet direct dependencies detected for PHY_ROCKCHIP_PCIE
  Depends on [n]: ARCH_ROCKCHIP [=n]
  Selected by [y]:
  - PCIE_ROCKCHIP [=y] && PCI [=y]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/pci/Kconfig

index 06d39df..c19d09b 100644 (file)
@@ -260,6 +260,7 @@ config PCIE_MEDIATEK
 
 config PCIE_ROCKCHIP
        bool "Enable Rockchip PCIe driver"
+       depends on ARCH_ROCKCHIP
        select DM_PCI
        select PHY_ROCKCHIP_PCIE
        default y if ROCKCHIP_RK3399