diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2014-01-27 05:23:55 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-10 04:13:08 -0500 |
commit | b4eef7b22544d46d918696253e9086975dc6f8b0 (patch) | |
tree | 510b356db9861762c1a5930c7a98704abe3f04e1 | |
parent | 1e6f8e3c92fbbcd5bcca860c4db4eef2052aa79f (diff) |
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>
-rw-r--r-- | drivers/pinctrl/pinctrl-adi2.c | 2 |
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 { | |||
173 | struct gpio_port { | 173 | struct gpio_port { |
174 | struct list_head node; | 174 | struct list_head node; |
175 | void __iomem *base; | 175 | void __iomem *base; |
176 | unsigned int irq_base; | 176 | int irq_base; |
177 | unsigned int width; | 177 | unsigned int width; |
178 | struct gpio_port_t *regs; | 178 | struct gpio_port_t *regs; |
179 | struct gpio_port_saved saved_data; | 179 | struct gpio_port_saved saved_data; |