openwrtv3/target/linux/adm5120/patches-2.6.34/201-amba_bus_hacks.patch
Alexandros C. Couloumbis 066358ab80 adm5120: add 2.6.33 & 2.6.34 kernel support
SVN-Revision: 21182
2010-04-27 08:46:13 +00:00

13 lines
303 B
Diff

--- 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)