[adm5120] uses AMBA PL010 driver for the serial ports from now
[openwrt/svn-archive/archive.git] / target / linux / adm5120-2.6 / patches-2.6.22 / 201-amba-bus-hacks.patch
1 Index: linux/drivers/amba/bus.c
2 ===================================================================
3 --- linux.orig/drivers/amba/bus.c
4 +++ linux/drivers/amba/bus.c
5 @@ -17,6 +17,10 @@
6 #include <asm/io.h>
7 #include <asm/sizes.h>
8
9 +#ifndef NO_IRQ
10 +#define NO_IRQ (-1)
11 +#endif
12 +
13 #define to_amba_device(d) container_of(d, struct amba_device, dev)
14 #define to_amba_driver(d) container_of(d, struct amba_driver, drv)
15