@@ -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,
This patch removes hardcoding done for UART IRQ lines from serial.c file. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> --- arch/arm/mach-omap2/serial.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)