Commit 71e60073 authored by Ralf Baechle's avatar Ralf Baechle

MIPS: jz4740: Fix surviving instance of irq_to_gpio()

This is fallout from commit 832f5dac ("MIPS: Remove all the uses of
custom gpio.h").
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Suggested-by: default avatarLars-Peter Clausen <lars@metafoo.de>
parent fc77dbd3
......@@ -270,7 +270,7 @@ uint32_t jz_gpio_port_get_value(int port, uint32_t mask)
}
EXPORT_SYMBOL(jz_gpio_port_get_value);
#define IRQ_TO_BIT(irq) BIT(irq_to_gpio(irq) & 0x1f)
#define IRQ_TO_BIT(irq) BIT((irq - JZ4740_IRQ_GPIO(0)) & 0x1f)
static void jz_gpio_check_trigger_both(struct jz_gpio_chip *chip, unsigned int irq)
{
......
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