pinctrl-adi2: change irq_base from usigned int to int
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 27 Jan 2014 10:23:55 +0000 (18:23 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Feb 2014 09:13:08 +0000 (10:13 +0100)
Negative irq_base means this gpio port doens't support interrupts.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-adi2.c

index e8120fadf385a95c59676f5e63541ad094e03420..9fb53c921d469dffaf06f847c551f9fceb53f171 100644 (file)
@@ -173,7 +173,7 @@ struct adi_pinctrl {
 struct gpio_port {
        struct list_head node;
        void __iomem *base;
-       unsigned int irq_base;
+       int irq_base;
        unsigned int width;
        struct gpio_port_t *regs;
        struct gpio_port_saved saved_data;