From 1b1cea5dac3666fb43ccd78f2d6867fbf4815564 Mon Sep 17 00:00:00 2001 From: acoul Date: Thu, 10 Jun 2010 11:21:10 +0000 Subject: adm5120: add kernel 2.6.35 preliminary support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21751 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/adm5120/patches-2.6.35/201-amba_bus_hacks.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/adm5120/patches-2.6.35/201-amba_bus_hacks.patch (limited to 'target/linux/adm5120/patches-2.6.35/201-amba_bus_hacks.patch') diff --git a/target/linux/adm5120/patches-2.6.35/201-amba_bus_hacks.patch b/target/linux/adm5120/patches-2.6.35/201-amba_bus_hacks.patch new file mode 100644 index 000000000..9db3e55ad --- /dev/null +++ b/target/linux/adm5120/patches-2.6.35/201-amba_bus_hacks.patch @@ -0,0 +1,13 @@ +--- a/drivers/amba/bus.c ++++ b/drivers/amba/bus.c +@@ -18,6 +18,10 @@ + #include + #include + ++#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) + -- cgit v1.2.3