summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-adi2.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-01-27 11:23:55 +0100
committerLinus Walleij <linus.walleij@linaro.org>2014-02-10 10:13:08 +0100
commitb4eef7b22544d46d918696253e9086975dc6f8b0 (patch)
tree510b356db9861762c1a5930c7a98704abe3f04e1 /drivers/pinctrl/pinctrl-adi2.c
parentpinctrl: Move pint PM storage structure out of blackfin architecture. (diff)
downloadlinux-b4eef7b22544d46d918696253e9086975dc6f8b0.tar.xz
linux-b4eef7b22544d46d918696253e9086975dc6f8b0.zip
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 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;