[adm5120] swap I/O space if running in big-endian mode
[openwrt.git] / target / linux / adm5120 / patches / 201-amba_bus_hacks.patch
1 --- a/drivers/amba/bus.c
2 +++ b/drivers/amba/bus.c
3 @@ -17,6 +17,10 @@
4 #include <asm/io.h>
5 #include <asm/sizes.h>
6
7 +#ifndef NO_IRQ
8 +#define NO_IRQ (-1)
9 +#endif
10 +
11 #define to_amba_device(d) container_of(d, struct amba_device, dev)
12 #define to_amba_driver(d) container_of(d, struct amba_driver, drv)
13
This page took 0.038119 seconds and 5 git commands to generate.