adm5120: add kernel 2.6.35 preliminary support

SVN-Revision: 21751
This commit is contained in:
Alexandros C. Couloumbis
2010-06-10 11:21:10 +00:00
parent 9bc1e548a1
commit 93993b29e0
20 changed files with 1481 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
--- 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)