Browse Source

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>
Sonic Zhang 11 years ago
parent
commit
b4eef7b225
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/pinctrl/pinctrl-adi2.c

+ 1 - 1
drivers/pinctrl/pinctrl-adi2.c

@@ -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;