summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-01-19 20:58:53 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-01-19 20:58:53 +0000
commitbba8f059d746863999e3b73832ee9d66fb4975bd (patch)
treecde9d2927da03057cbe5d7d8d13372413fbfd8e1 /target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch
parent1dfa369c98075302400f46cd2b410d32a5ef68d6 (diff)
downloadmtk-20170518-bba8f059d746863999e3b73832ee9d66fb4975bd.zip
mtk-20170518-bba8f059d746863999e3b73832ee9d66fb4975bd.tar.gz
mtk-20170518-bba8f059d746863999e3b73832ee9d66fb4975bd.tar.bz2
bcm53xx: backport iProc Kconfig fixes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48369
Diffstat (limited to 'target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch b/target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch
new file mode 100644
index 0000000..110ba24
--- /dev/null
+++ b/target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch
@@ -0,0 +1,26 @@
+From 05aa7d6a72c1fca809e4d8bfdc5fa202cb8bed37 Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke@hauke-m.de>
+Date: Sat, 25 Jul 2015 21:15:24 +0200
+Subject: [PATCH] PCI: iproc: Allow BCMA bus driver to be built as module
+
+Change CONFIG_PCIE_IPROC_BCMA to tristate to make it possible to build this
+driver as a module.
+
+Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
+Acked-by: Ray Jui <rjui@broadcom.com>
+---
+ drivers/pci/host/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/pci/host/Kconfig
++++ b/drivers/pci/host/Kconfig
+@@ -126,7 +126,7 @@ config PCIE_IPROC_PLATFORM
+ through the generic platform bus interface
+
+ config PCIE_IPROC_BCMA
+- bool "Broadcom iProc PCIe BCMA bus driver"
++ tristate "Broadcom iProc PCIe BCMA bus driver"
+ depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST)
+ select PCIE_IPROC
+ select BCMA