From a9551305279caac19d9f7ee121633fd18baa2fab Mon Sep 17 00:00:00 2001 From: Vikram Pandita Date: Mon, 22 Jun 2009 18:20:04 -0500 Subject: [PATCH 5/8] OMAP2: Zoom2: Pass irqflags to 8250 driver Pass irqflags to 8250 driver from zoom2 board file Zoom2 has IRQF_TRIGGER_RISING requirement for the 8250 GPIO irq This patch is dependent on 8250 driver changes getting accepted upstream: http://patchwork.kernel.org/patch/31884/ Warn: could cause compilation break if above patch is not integrated first Signed-off-by: Vikram Pandita --- arch/arm/mach-omap2/board-zoom-debugboard.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c index bac5c43..f546063 100644 --- a/arch/arm/mach-omap2/board-zoom-debugboard.c +++ b/arch/arm/mach-omap2/board-zoom-debugboard.c @@ -12,6 +12,7 @@ #include #include #include +#include #include @@ -84,6 +85,7 @@ static struct plat_serial8250_port serial_platform_data[] = { .mapbase = 0x10000000, .irq = OMAP_GPIO_IRQ(102), .flags = UPF_BOOT_AUTOCONF|UPF_IOREMAP|UPF_SHARE_IRQ, + .irqflags = IRQF_SHARED | IRQF_TRIGGER_RISING, .iotype = UPIO_MEM, .regshift = 1, .uartclk = QUART_CLK, -- 1.6.3.2