summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/gpio-dwapb.h
diff options
context:
space:
mode:
authorPhil Edworthy <phil.edworthy@renesas.com>2018-05-25 16:11:34 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-05-28 09:45:27 +0200
commit02f6bf8717a359cabe042c632f3d03fc772450bf (patch)
treef5ba147bb148e7fcc61894b4ba57e787b1b1bd80 /include/linux/platform_data/gpio-dwapb.h
parent84bf021ecee4e50b63ab5e5563a5202e69cb5623 (diff)
gpio: dwapb: Fix rework support for 1 interrupt per port A GPIO
Commit da069d5d2b814d9887989dcdb29fb0202eac8b38 ("gpio: dwapb: Rework support for 1 interrupt per port A GPIO"), was an incremental patch that was supposed to provide the delta between v5 and v6 patch set for adding support for 1 interupt per port A GPIO. v5 was applied, then some other feedback came afterwards. However, in my haste I managed to drop the changes made to dwapb_port_property struct. This patch includes those missing changes. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/platform_data/gpio-dwapb.h')
-rw-r--r--include/linux/platform_data/gpio-dwapb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/gpio-dwapb.h b/include/linux/platform_data/gpio-dwapb.h
index 5a52d69c13f3..419cfacb4b42 100644
--- a/include/linux/platform_data/gpio-dwapb.h
+++ b/include/linux/platform_data/gpio-dwapb.h
@@ -19,7 +19,7 @@ struct dwapb_port_property {
unsigned int idx;
unsigned int ngpio;
unsigned int gpio_base;
- unsigned int irq[32];
+ int irq[32];
bool has_irq;
bool irq_shared;
};