aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-01-31 16:43:13 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-01-31 16:43:13 +0000
commitf2f10560c977ada19789cac276c9e5c99ea72ab5 (patch)
treebe5428d7d680adcfa43accab14ee9a58801646f7 /target
parenta3626aca95c5ec865a53b8bce2f739c77c3247da (diff)
downloadmaster-187ad058-f2f10560c977ada19789cac276c9e5c99ea72ab5.tar.gz
master-187ad058-f2f10560c977ada19789cac276c9e5c99ea72ab5.tar.bz2
master-187ad058-f2f10560c977ada19789cac276c9e5c99ea72ab5.zip
kernel: disable bcma's usage of OF API in kernel 3.10
It fails to build because of missing of_irq_parse_raw and incompatible irq_create_of_mapping. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44230 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/patches-3.10/026-bcma-disable-OF-code.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.10/026-bcma-disable-OF-code.patch b/target/linux/generic/patches-3.10/026-bcma-disable-OF-code.patch
new file mode 100644
index 0000000000..7fb4cf312f
--- /dev/null
+++ b/target/linux/generic/patches-3.10/026-bcma-disable-OF-code.patch
@@ -0,0 +1,30 @@
+From 527608f06505b2a014982dd8ac7c85d97af51510 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
+Date: Sat, 31 Jan 2015 17:40:58 +0100
+Subject: [PATCH] bcma: disable OF code
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
+---
+ drivers/bcma/main.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c
+index c44b8d6..e64900f 100644
+--- a/drivers/bcma/main.c
++++ b/drivers/bcma/main.c
+@@ -124,7 +124,8 @@ static bool bcma_is_core_needed_early(u16 core_id)
+ return false;
+ }
+
+-#if defined(CONFIG_OF) && defined(CONFIG_OF_ADDRESS)
++/* Backported code requires OF API from kernel 3.13 at least. */
++#if 0
+ static struct device_node *bcma_of_find_child_device(struct platform_device *parent,
+ struct bcma_device *core)
+ {
+--
+1.8.4.5
+