aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/patches-2.6.34/201-amba_bus_hacks.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-04-27 08:46:13 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-04-27 08:46:13 +0000
commit066358ab8036321a9c333a881ba329985e688dfd (patch)
tree4d6a6ef78043d87b6da5d7cbfd5a51d744e5f205 /target/linux/adm5120/patches-2.6.34/201-amba_bus_hacks.patch
parentcde7b6363c77be3d6e81e9444ac5d2ba8d0db87f (diff)
downloadupstream-066358ab8036321a9c333a881ba329985e688dfd.tar.gz
upstream-066358ab8036321a9c333a881ba329985e688dfd.tar.bz2
upstream-066358ab8036321a9c333a881ba329985e688dfd.zip
adm5120: add 2.6.33 & 2.6.34 kernel support
SVN-Revision: 21182
Diffstat (limited to 'target/linux/adm5120/patches-2.6.34/201-amba_bus_hacks.patch')
-rw-r--r--target/linux/adm5120/patches-2.6.34/201-amba_bus_hacks.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/adm5120/patches-2.6.34/201-amba_bus_hacks.patch b/target/linux/adm5120/patches-2.6.34/201-amba_bus_hacks.patch
new file mode 100644
index 0000000000..9db3e55adb
--- /dev/null
+++ b/target/linux/adm5120/patches-2.6.34/201-amba_bus_hacks.patch
@@ -0,0 +1,13 @@
+--- a/drivers/amba/bus.c
++++ b/drivers/amba/bus.c
+@@ -18,6 +18,10 @@
+ #include <asm/irq.h>
+ #include <asm/sizes.h>
+
++#ifndef NO_IRQ
++#define NO_IRQ (-1)
++#endif
++
+ #define to_amba_device(d) container_of(d, struct amba_device, dev)
+ #define to_amba_driver(d) container_of(d, struct amba_driver, drv)
+