8a48215d864f4496130f1616d6a85266cced9715
[openwrt.git] / target / linux / adm5120 / patches-2.6.25 / 201-amba_bus_hacks.patch
1 Index: linux-2.6.25/drivers/amba/bus.c
2 ===================================================================
3 --- linux-2.6.25.orig/drivers/amba/bus.c
4 +++ linux-2.6.25/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
This page took 0.040764 seconds and 3 git commands to generate.