diff options
author | Florian Fainelli <florian@openwrt.org> | 2015-03-28 18:18:38 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2015-03-28 18:18:38 +0000 |
commit | cdcb00cdde015a776ccee3e2021abde2431eec0b (patch) | |
tree | af7e7c058267e35959957d08d81172d2d912e65f /target/linux/adm8668/patches-3.18/201-amba_bus_hacks.patch | |
parent | 5dbf2d51cd341da555cad8a12a30f0c7bc8c180a (diff) | |
download | upstream-cdcb00cdde015a776ccee3e2021abde2431eec0b.tar.gz upstream-cdcb00cdde015a776ccee3e2021abde2431eec0b.tar.bz2 upstream-cdcb00cdde015a776ccee3e2021abde2431eec0b.zip |
adm8668: add 3.18 support
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45094 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm8668/patches-3.18/201-amba_bus_hacks.patch')
-rw-r--r-- | target/linux/adm8668/patches-3.18/201-amba_bus_hacks.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/adm8668/patches-3.18/201-amba_bus_hacks.patch b/target/linux/adm8668/patches-3.18/201-amba_bus_hacks.patch new file mode 100644 index 0000000000..c79721aa96 --- /dev/null +++ b/target/linux/adm8668/patches-3.18/201-amba_bus_hacks.patch @@ -0,0 +1,13 @@ +--- a/drivers/amba/bus.c ++++ b/drivers/amba/bus.c +@@ -21,6 +21,10 @@ + + #include <asm/irq.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 * |