aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLudovic Barre <ludovic.barre@st.com>2018-04-26 12:18:32 -0400
committerMarc Zyngier <marc.zyngier@arm.com>2018-05-24 07:38:22 -0400
commitc12fcfb12e48f8a34bebd3f31b5c4b0084768578 (patch)
treea8622314e55532cf4852397fa4508346e61e50ff /drivers
parent73958b31c1c1d94010ba840d7f5ac118bbbdafb5 (diff)
pinctrl/stm32: Add irq_eoi for stm32gpio irqchip
-Parent domain of stm32gpio evolves to hierarchy domain and could have a handle_fasteoi_irq. So an irq_eoi parent callback is needed for children. -Replace space by tabulation. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pinctrl/stm32/pinctrl-stm32.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c
index 6cbcff42ba47..dfed60982a8a 100644
--- a/drivers/pinctrl/stm32/pinctrl-stm32.c
+++ b/drivers/pinctrl/stm32/pinctrl-stm32.c
@@ -267,12 +267,13 @@ static void stm32_gpio_irq_release_resources(struct irq_data *irq_data)
267} 267}
268 268
269static struct irq_chip stm32_gpio_irq_chip = { 269static struct irq_chip stm32_gpio_irq_chip = {
270 .name = "stm32gpio", 270 .name = "stm32gpio",
271 .irq_ack = irq_chip_ack_parent, 271 .irq_eoi = irq_chip_eoi_parent,
272 .irq_mask = irq_chip_mask_parent, 272 .irq_ack = irq_chip_ack_parent,
273 .irq_unmask = irq_chip_unmask_parent, 273 .irq_mask = irq_chip_mask_parent,
274 .irq_set_type = irq_chip_set_type_parent, 274 .irq_unmask = irq_chip_unmask_parent,
275 .irq_set_wake = irq_chip_set_wake_parent, 275 .irq_set_type = irq_chip_set_type_parent,
276 .irq_set_wake = irq_chip_set_wake_parent,
276 .irq_request_resources = stm32_gpio_irq_request_resources, 277 .irq_request_resources = stm32_gpio_irq_request_resources,
277 .irq_release_resources = stm32_gpio_irq_release_resources, 278 .irq_release_resources = stm32_gpio_irq_release_resources,
278}; 279};