diff options
author | Axel Lin <[email protected]> | 2013-07-05 15:39:11 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2013-07-05 11:39:24 +0200 |
commit | 5b8aae489a07ac7d5a2cb897d6ca1fddb0c0043a (patch) | |
tree | 0bc6f9ce8791a69f5ff00c1d16034d9a094b0bea | |
parent | baaecfa7249f1d5553a31f8ad0b9c7ffabcaa339 (diff) |
irqchip: nvic: Fix wrong num_ct argument for irq_alloc_domain_generic_chips()
The third parameter of irq_alloc_domain_generic_chips() is the number of
irq_chip_type instances associated with these chips rather than numbanks.
Signed-off-by: Axel Lin <[email protected]>
Cc: Uwe Kleine-Koenig <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
-rw-r--r-- | drivers/irqchip/irq-nvic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-nvic.c b/drivers/irqchip/irq-nvic.c index 8d0c8b3181c5..70bdf6edb7bb 100644 --- a/drivers/irqchip/irq-nvic.c +++ b/drivers/irqchip/irq-nvic.c @@ -84,7 +84,7 @@ static int __init nvic_of_init(struct device_node *node, return -ENOMEM; } - ret = irq_alloc_domain_generic_chips(nvic_irq_domain, 32, numbanks, + ret = irq_alloc_domain_generic_chips(nvic_irq_domain, 32, 1, "nvic_irq", handle_fasteoi_irq, clr, 0, IRQ_GC_INIT_MASK_CACHE); if (ret) { |