bcm53xx: backport iProc Kconfig fixes
[openwrt/staging/chunkeey.git] / target / linux / bcm53xx / patches-4.1 / 035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch
1 From 05aa7d6a72c1fca809e4d8bfdc5fa202cb8bed37 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sat, 25 Jul 2015 21:15:24 +0200
4 Subject: [PATCH] PCI: iproc: Allow BCMA bus driver to be built as module
5
6 Change CONFIG_PCIE_IPROC_BCMA to tristate to make it possible to build this
7 driver as a module.
8
9 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
10 Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
11 Acked-by: Ray Jui <rjui@broadcom.com>
12 ---
13 drivers/pci/host/Kconfig | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/drivers/pci/host/Kconfig
17 +++ b/drivers/pci/host/Kconfig
18 @@ -126,7 +126,7 @@ config PCIE_IPROC_PLATFORM
19 through the generic platform bus interface
20
21 config PCIE_IPROC_BCMA
22 - bool "Broadcom iProc PCIe BCMA bus driver"
23 + tristate "Broadcom iProc PCIe BCMA bus driver"
24 depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST)
25 select PCIE_IPROC
26 select BCMA