irqchip/stm32-exti: Add domain translate function
authorLoic Pallardy <loic.pallardy@st.com>
Fri, 11 Jan 2019 17:54:31 +0000 (18:54 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 17 Jan 2019 16:51:59 +0000 (16:51 +0000)
Domain translate function is needed to recover irq
configuration parameters from DT node

Fixes: 927abfc4461e ("irqchip/stm32: Add stm32mp1 support with hierarchy domain")
Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-stm32-exti.c

index 6edfd4b..a93296b 100644 (file)
@@ -822,6 +822,7 @@ out_unmap:
 static const struct irq_domain_ops stm32_exti_h_domain_ops = {
        .alloc  = stm32_exti_h_domain_alloc,
        .free   = irq_domain_free_irqs_common,
+       .xlate = irq_domain_xlate_twocell,
 };
 
 static int