diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-04-27 08:46:13 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-04-27 08:46:13 +0000 |
commit | 066358ab8036321a9c333a881ba329985e688dfd (patch) | |
tree | 4d6a6ef78043d87b6da5d7cbfd5a51d744e5f205 /target/linux/adm5120/patches-2.6.33/201-amba_bus_hacks.patch | |
parent | cde7b6363c77be3d6e81e9444ac5d2ba8d0db87f (diff) | |
download | upstream-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.33/201-amba_bus_hacks.patch')
-rw-r--r-- | target/linux/adm5120/patches-2.6.33/201-amba_bus_hacks.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/adm5120/patches-2.6.33/201-amba_bus_hacks.patch b/target/linux/adm5120/patches-2.6.33/201-amba_bus_hacks.patch new file mode 100644 index 0000000000..9db3e55adb --- /dev/null +++ b/target/linux/adm5120/patches-2.6.33/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) + |