summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-12 12:56:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-12 12:56:25 +0200
commit60bd7be764e8adada97034b4836875b3e449bd7c (patch)
tree1a0797a089f19627932a0256339662cb4f79b4d2 /include
parentef0e75a47c4ad518aa3c91bb6a86a329b890f263 (diff)
parent3e779a2e7f909015f21428b66834127496110b6d (diff)
downloadlinux-60bd7be764e8adada97034b4836875b3e449bd7c.tar.bz2
Merge tag 'gpio-v4.19-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio
Linus writes: "GPIO fix for the v4.19 series: - Fix up the interrupt parent for the irqdomains." * tag 'gpio-v4.19-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: gpio: Assign gpio_irq_chip::parents to non-stack pointer
Diffstat (limited to 'include')
-rw-r--r--include/linux/gpio/driver.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index 0ea328e71ec9..a4d5eb37744a 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -95,6 +95,13 @@ struct gpio_irq_chip {
unsigned int num_parents;
/**
+ * @parent_irq:
+ *
+ * For use by gpiochip_set_cascaded_irqchip()
+ */
+ unsigned int parent_irq;
+
+ /**
* @parents:
*
* A list of interrupt parents of a GPIO chip. This is owned by the