summaryrefslogtreecommitdiff
path: root/target/linux/adm8668/patches-3.3/201-amba_bus_hacks.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-12-06 22:39:43 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-12-06 22:39:43 +0000
commitafc2b07be18f32327351c73d1e58f8e27fdc29bd (patch)
treefeb35c59476836dbf48640992af895299ccbb89c /target/linux/adm8668/patches-3.3/201-amba_bus_hacks.patch
parent2dee2133c5d6a3aa87b341c09c8978dd771edb94 (diff)
downloadmtk-20170518-afc2b07be18f32327351c73d1e58f8e27fdc29bd.zip
mtk-20170518-afc2b07be18f32327351c73d1e58f8e27fdc29bd.tar.gz
mtk-20170518-afc2b07be18f32327351c73d1e58f8e27fdc29bd.tar.bz2
get rid of the specific UART driver and use AMBA PL010
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34548
Diffstat (limited to 'target/linux/adm8668/patches-3.3/201-amba_bus_hacks.patch')
-rw-r--r--target/linux/adm8668/patches-3.3/201-amba_bus_hacks.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/adm8668/patches-3.3/201-amba_bus_hacks.patch b/target/linux/adm8668/patches-3.3/201-amba_bus_hacks.patch
new file mode 100644
index 0000000..2364d2a
--- /dev/null
+++ b/target/linux/adm8668/patches-3.3/201-amba_bus_hacks.patch
@@ -0,0 +1,13 @@
+--- a/drivers/amba/bus.c
++++ b/drivers/amba/bus.c
+@@ -20,6 +20,10 @@
+ #include <asm/irq.h>
+ #include <asm/sizes.h>
+
++#ifndef NO_IRQ
++#define NO_IRQ (-1)
++#endif
++
+ #define to_amba_driver(d) container_of(d, struct amba_driver, drv)
+
+ static const struct amba_id *