Skip to content

Commit d312742

Browse files
geertubjorn-helgaas
authored andcommitted
PCI: rcar-gen2: Drop ARM dependency from PCI_RCAR_GEN2
Since the reliance on ARM-specific struct pci_sys_data was removed, this driver can be compile-tested on other architectures. While at it, make the help text a bit more generic, as some members of the R-Car Gen2 family have a different number of internal PCI controllers. Fixes: 4a95756 ("PCI: rcar-gen2: Convert to use modern host bridge probe functions") Suggested-by: Ilpo Jarvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> [bhelgaas: add rcar-gen2 to subject] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://patch.msgid.link/00f75d6732eacce93f04ffaeedc415d2db714cd6.1759480426.git.geert+renesas@glider.be
1 parent 3a86608 commit d312742

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

drivers/pci/controller/Kconfig

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,11 @@ config PCIE_RCAR_EP
259259

260260
config PCI_RCAR_GEN2
261261
bool "Renesas R-Car Gen2 Internal PCI controller"
262-
depends on ARCH_RENESAS || COMPILE_TEST
263-
depends on ARM
262+
depends on (ARCH_RENESAS && ARM) || COMPILE_TEST
264263
help
265264
Say Y here if you want internal PCI support on R-Car Gen2 SoC.
266-
There are 3 internal PCI controllers available with a single
267-
built-in EHCI/OHCI host controller present on each one.
265+
Each internal PCI controller contains a single built-in EHCI/OHCI
266+
host controller.
268267

269268
config PCIE_ROCKCHIP
270269
bool

0 commit comments

Comments
 (0)