12345678910111213141516171819202122232425262728293031 |
- From b3b76fc86f0fb4d98918f48c784138bfa950dff6 Mon Sep 17 00:00:00 2001
- From: Felix Fietkau <[email protected]>
- Date: Wed, 15 Jun 2022 14:53:34 +0200
- Subject: [PATCH] PCI: mediatek: Allow building for ARCH_AIROHA
- Allow selecting the pcie-mediatek driver if ARCH_AIROHA is set, because the
- Airoha EN7523 SoC uses the same controller as MT7622.
- The driver itself is not modified. The PCIe controller DT node should use
- mediatek,mt7622-pcie after airoha,en7523-pcie.
- Link: https://lore.kernel.org/r/[email protected]
- Signed-off-by: Felix Fietkau <[email protected]>
- Signed-off-by: Bjorn Helgaas <[email protected]>
- Acked-by: Lorenzo Pieralisi <[email protected]>
- Signed-off-by: Daniel Danzberger <[email protected]>
- ---
- drivers/pci/controller/Kconfig | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- --- a/drivers/pci/controller/Kconfig
- +++ b/drivers/pci/controller/Kconfig
- @@ -233,7 +233,7 @@ config PCIE_ROCKCHIP_EP
-
- config PCIE_MEDIATEK
- tristate "MediaTek PCIe controller"
- - depends on ARCH_MEDIATEK || COMPILE_TEST
- + depends on ARCH_AIROHA || ARCH_MEDIATEK || COMPILE_TEST
- depends on OF
- depends on PCI_MSI_IRQ_DOMAIN
- help
|