034-PCI-iproc-Fix-BCMA-dependency-in-Kconfig.patch 1017 B

12345678910111213141516171819202122232425262728
  1. From 70d334ca71b0e35ef21493d86799cec83f452d94 Mon Sep 17 00:00:00 2001
  2. From: Ray Jui <rjui@broadcom.com>
  3. Date: Wed, 29 Jul 2015 10:12:53 -0700
  4. Subject: [PATCH] PCI: iproc: Fix BCMA dependency in Kconfig
  5. The current iProc BCMA front-end driver can only work on ARM32 based
  6. platforms; therefore its config option in Kconfig should be changed to
  7. reflect that. This fixes arm64 allmodconfig build failure when compiling
  8. the the iProc BCMA driver that contains struct pci_sys_data that is
  9. arm32 specific
  10. Signed-off-by: Ray Jui <rjui@broadcom.com>
  11. Signed-off-by: Olof Johansson <olof@lixom.net>
  12. ---
  13. drivers/pci/host/Kconfig | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. --- a/drivers/pci/host/Kconfig
  16. +++ b/drivers/pci/host/Kconfig
  17. @@ -127,7 +127,7 @@ config PCIE_IPROC_PLATFORM
  18. config PCIE_IPROC_BCMA
  19. bool "Broadcom iProc PCIe BCMA bus driver"
  20. - depends on ARCH_BCM_IPROC || (ARM && COMPILE_TEST)
  21. + depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST)
  22. select PCIE_IPROC
  23. select BCMA
  24. select PCI_DOMAINS