summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-adi2.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-01-27 18:23:55 +0800
committerLinus Walleij <linus.walleij@linaro.org>2014-02-10 10:13:08 +0100
commitb4eef7b22544d46d918696253e9086975dc6f8b0 (patch)
tree510b356db9861762c1a5930c7a98704abe3f04e1 /drivers/pinctrl/pinctrl-adi2.c
parent1e6f8e3c92fbbcd5bcca860c4db4eef2052aa79f (diff)
downloadop-kernel-dev-b4eef7b22544d46d918696253e9086975dc6f8b0.zip
op-kernel-dev-b4eef7b22544d46d918696253e9086975dc6f8b0.tar.gz
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 <sonic.zhang@analog.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-adi2.c')
-rw-r--r--drivers/pinctrl/pinctrl-adi2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-adi2.c b/drivers/pinctrl/pinctrl-adi2.c
index e8120fa..9fb53c9 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;
OpenPOWER on IntegriCloud