summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-stm32-exti.c
diff options
context:
space:
mode:
authorLoic Pallardy <loic.pallardy@st.com>2019-01-11 18:54:31 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2019-01-17 16:51:59 +0000
commit1d47f48bf2d1608c2d6eb76b3ec7a5ec0c3f9e95 (patch)
treef025c476ca51d9b0d282f54d200b77f60c2f147c /drivers/irqchip/irq-stm32-exti.c
parentbfeffd155283772bbe78c6a05dec7c0128ee500c (diff)
downloadlinux-1d47f48bf2d1608c2d6eb76b3ec7a5ec0c3f9e95.tar.bz2
irqchip/stm32-exti: Add domain translate function
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>
Diffstat (limited to 'drivers/irqchip/irq-stm32-exti.c')
-rw-r--r--drivers/irqchip/irq-stm32-exti.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c
index 6edfd4bfa169..a93296b9b45d 100644
--- a/drivers/irqchip/irq-stm32-exti.c
+++ b/drivers/irqchip/irq-stm32-exti.c
@@ -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