提交 546fb6cb 编写于 作者: B Ben Dooks 提交者: Sascha Hauer

ARM: mx5: board-cpuimx51.c fixup irq_to_gpio() usage

irq_to_gpio() is being called on a GPIO so change to using
gpio_to_irq() instead.
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
上级 1a43f201
......@@ -81,7 +81,7 @@ static struct plat_serial8250_port serial_platform_data[] = {
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP,
}, {
.mapbase = (unsigned long)(MX51_CS1_BASE_ADDR + 0x2000000),
.irq = irq_to_gpio(CPUIMX51_QUARTD_GPIO),
.irq = gpio_to_irq(CPUIMX51_QUARTD_GPIO),
.irqflags = IRQF_TRIGGER_HIGH,
.uartclk = CPUIMX51_QUART_XTAL,
.regshift = CPUIMX51_QUART_REGSHIFT,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册