This patch removes hardcoding done for UART IRQ lines
from serial.c file.
Signed-off-by: Santosh Shilimkar <[email protected]>
---
arch/arm/mach-omap2/serial.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 4dcf39c..f7a3090 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -29,7 +29,7 @@ static struct plat_serial8250_port serial_platform_data[] = {
{
.membase = IO_ADDRESS(OMAP_UART1_BASE),
.mapbase = OMAP_UART1_BASE,
- .irq = 72,
+ .irq = INT_24XX_UART1_IRQ,
.flags = UPF_BOOT_AUTOCONF,
.iotype = UPIO_MEM,
.regshift = 2,
@@ -37,7 +37,7 @@ static struct plat_serial8250_port serial_platform_data[] = {
}, {
.membase = IO_ADDRESS(OMAP_UART2_BASE),
.mapbase = OMAP_UART2_BASE,
- .irq = 73,
+ .irq = INT_24XX_UART2_IRQ,
.flags = UPF_BOOT_AUTOCONF,
.iotype = UPIO_MEM,
.regshift = 2,
@@ -45,7 +45,7 @@ static struct plat_serial8250_port serial_platform_data[] = {
}, {
.membase = IO_ADDRESS(OMAP_UART3_BASE),
.mapbase = OMAP_UART3_BASE,
- .irq = 74,
+ .irq = INT_24XX_UART3_IRQ,
.flags = UPF_BOOT_AUTOCONF,
.iotype = UPIO_MEM,
.regshift = 2,
--
1.5.4.7
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html