Xilinx Zynq pl330 dma driver has 9 irqs which all have to
be used by the driver to get it work properly.

Signed-off-by: Michal Simek <[email protected]>
---
Not sure if there are others IP with more than 9 irqs.
---
 include/linux/amba/bus.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h
index 43ec7e2..b327a1b 100644
--- a/include/linux/amba/bus.h
+++ b/include/linux/amba/bus.h
@@ -21,7 +21,7 @@
 #include <linux/resource.h>
 #include <linux/regulator/consumer.h>

-#define AMBA_NR_IRQS   2
+#define AMBA_NR_IRQS   9
 #define AMBA_CID       0xb105f00d

 struct clk;
--
1.8.2.3

Attachment: pgpbbHk5Cnsj4.pgp
Description: PGP signature

Reply via email to