Commit 8ae93b5e authored by Andy Shevchenko's avatar Andy Shevchenko

pinctrl: cherryview: Missed type change to unsigned int

We converted 'unsigned' type to be 'unsigned int' in the driver,
but there are couple of leftovers. So, finish the task now.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 11b389cc
...@@ -165,7 +165,7 @@ struct chv_pinctrl { ...@@ -165,7 +165,7 @@ struct chv_pinctrl {
struct gpio_chip chip; struct gpio_chip chip;
struct irq_chip irqchip; struct irq_chip irqchip;
void __iomem *regs; void __iomem *regs;
unsigned intr_lines[16]; unsigned int intr_lines[16];
const struct chv_community *community; const struct chv_community *community;
u32 saved_intmask; u32 saved_intmask;
struct chv_pin_context *saved_pin_context; struct chv_pin_context *saved_pin_context;
...@@ -1480,7 +1480,7 @@ static void chv_gpio_irq_handler(struct irq_desc *desc) ...@@ -1480,7 +1480,7 @@ static void chv_gpio_irq_handler(struct irq_desc *desc)
pending = readl(pctrl->regs + CHV_INTSTAT); pending = readl(pctrl->regs + CHV_INTSTAT);
for_each_set_bit(intr_line, &pending, pctrl->community->nirqs) { for_each_set_bit(intr_line, &pending, pctrl->community->nirqs) {
unsigned irq, offset; unsigned int irq, offset;
offset = pctrl->intr_lines[intr_line]; offset = pctrl->intr_lines[intr_line];
irq = irq_find_mapping(gc->irq.domain, offset); irq = irq_find_mapping(gc->irq.domain, offset);
......
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