From b4eef7b22544d46d918696253e9086975dc6f8b0 Mon Sep 17 00:00:00 2001 From: Sonic Zhang Date: Mon, 27 Jan 2014 18:23:55 +0800 Subject: [PATCH] pinctrl-adi2: change irq_base from usigned int to int Negative irq_base means this gpio port doens't support interrupts. Signed-off-by: Sonic Zhang Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-adi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-adi2.c b/drivers/pinctrl/pinctrl-adi2.c index e8120fadf385..9fb53c921d46 100644 --- a/drivers/pinctrl/pinctrl-adi2.c +++ b/drivers/pinctrl/pinctrl-adi2.c @@ -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;