diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2014-01-27 18:23:55 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-10 10:13:08 +0100 |
commit | b4eef7b22544d46d918696253e9086975dc6f8b0 (patch) | |
tree | 510b356db9861762c1a5930c7a98704abe3f04e1 /drivers/pinctrl/pinctrl-adi2.c | |
parent | 1e6f8e3c92fbbcd5bcca860c4db4eef2052aa79f (diff) | |
download | linux-b4eef7b22544d46d918696253e9086975dc6f8b0.tar.gz linux-b4eef7b22544d46d918696253e9086975dc6f8b0.tar.bz2 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.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 { 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; |