gpio: dwapb: Fix rework support for 1 interrupt per port A GPIO
authorPhil Edworthy <phil.edworthy@renesas.com>
Fri, 25 May 2018 15:11:34 +0000 (16:11 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 May 2018 07:45:27 +0000 (09:45 +0200)
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>
include/linux/platform_data/gpio-dwapb.h

index 5a52d69..419cfac 100644 (file)
@@ -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;
 };