Commit a82be3f0 authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov Committed by Russell King

ARM: 8280/1: sa1100: switch to irq_domain_add_simple()

As now both SC and GPIO irq domains start from 0 hwirq and do not
contain holes, switch to using irq_domain_add_simple() instead of
irq_domain_add_legacy().
Signed-off-by: default avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tested-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 590f2661
...@@ -318,12 +318,12 @@ void __init sa1100_init_irq(void) ...@@ -318,12 +318,12 @@ void __init sa1100_init_irq(void)
*/ */
ICCR = 1; ICCR = 1;
sa1100_normal_irqdomain = irq_domain_add_legacy(NULL, sa1100_normal_irqdomain = irq_domain_add_simple(NULL,
32, IRQ_GPIO0_SC, 0, 32, IRQ_GPIO0_SC,
&sa1100_normal_irqdomain_ops, NULL); &sa1100_normal_irqdomain_ops, NULL);
sa1100_gpio_irqdomain = irq_domain_add_legacy(NULL, sa1100_gpio_irqdomain = irq_domain_add_simple(NULL,
28, IRQ_GPIO0, 0, 28, IRQ_GPIO0,
&sa1100_gpio_irqdomain_ops, NULL); &sa1100_gpio_irqdomain_ops, NULL);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment