Commit b4eef7b2 authored by Sonic Zhang's avatar Sonic Zhang Committed by Linus Walleij

pinctrl-adi2: change irq_base from usigned int to int

Negative irq_base means this gpio port doens't support interrupts.
Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1e6f8e3c
...@@ -173,7 +173,7 @@ struct adi_pinctrl { ...@@ -173,7 +173,7 @@ struct adi_pinctrl {
struct gpio_port { struct gpio_port {
struct list_head node; struct list_head node;
void __iomem *base; void __iomem *base;
unsigned int irq_base; int irq_base;
unsigned int width; unsigned int width;
struct gpio_port_t *regs; struct gpio_port_t *regs;
struct gpio_port_saved saved_data; struct gpio_port_saved saved_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment