adm8668: add 3.18 support
[openwrt.git] / target / linux / adm8668 / patches-3.18 / 201-amba_bus_hacks.patch
1 --- a/drivers/amba/bus.c
2 +++ b/drivers/amba/bus.c
3 @@ -21,6 +21,10 @@
4  
5  #include <asm/irq.h>
6  
7 +#ifndef NO_IRQ
8 +#define NO_IRQ         (-1)
9 +#endif
10 +
11  #define to_amba_driver(d)      container_of(d, struct amba_driver, drv)
12  
13  static const struct amba_id *