diff options
| author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2015-05-12 13:12:23 -0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2015-05-13 07:02:36 -0400 |
| commit | 25e4fe92a20bbffde87500615250f1d54bfb832f (patch) | |
| tree | f879e7336fc3a2347689df9f18e1ac0a51e34a4e /include | |
| parent | 845c877009cf014b971aab7f54613f9185a824b0 (diff) | |
gpiolib: cleanup chained handler and data
Clean up chained handler and handler data if they were set by
gpiochip_set_chained_irqchip().
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/gpio/driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 2c1e639f66bd..96a678842cde 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h | |||
| @@ -121,6 +121,7 @@ struct gpio_chip { | |||
| 121 | unsigned int irq_base; | 121 | unsigned int irq_base; |
| 122 | irq_flow_handler_t irq_handler; | 122 | irq_flow_handler_t irq_handler; |
| 123 | unsigned int irq_default_type; | 123 | unsigned int irq_default_type; |
| 124 | int irq_parent; | ||
| 124 | #endif | 125 | #endif |
| 125 | 126 | ||
| 126 | #if defined(CONFIG_OF_GPIO) | 127 | #if defined(CONFIG_OF_GPIO) |
