summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-01-28 14:31:13 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-01-28 14:31:13 +0100
commit67e436ffd648441a149308239d22e1ff46096d60 (patch)
tree4742299b6ad061d90135cb9ab406087bcd8dbf4a /include
parentdt-bindings: imx: Add pinctrl binding doc for imx8mm (diff)
parentspmi: pmic-arb: revert "disassociate old virq if hwirq mapping already exists" (diff)
downloadlinux-67e436ffd648441a149308239d22e1ff46096d60.tar.xz
linux-67e436ffd648441a149308239d22e1ff46096d60.zip
Merge branch 'ib-qcom-spmi' of /home/linus/linux-gpio into devel
Diffstat (limited to 'include')
-rw-r--r--include/linux/gpio/driver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index 07cddbf45186..01497910f023 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -472,6 +472,11 @@ int gpiochip_irq_map(struct irq_domain *d, unsigned int irq,
irq_hw_number_t hwirq);
void gpiochip_irq_unmap(struct irq_domain *d, unsigned int irq);
+int gpiochip_irq_domain_activate(struct irq_domain *domain,
+ struct irq_data *data, bool reserve);
+void gpiochip_irq_domain_deactivate(struct irq_domain *domain,
+ struct irq_data *data);
+
void gpiochip_set_chained_irqchip(struct gpio_chip *gpiochip,
struct irq_chip *irqchip,
unsigned int parent_irq,