]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 6edfd4bfa169ecbf488c897154d5e7000a9c5581..a93296b9b45debecfb723e780f3f381b15660d2e 100644 (file)
@@ -822,6 +822,7 @@ static int __init stm32_exti_init(const struct stm32_exti_drv_data *drv_data,
 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