From patchwork Tue Apr 21 12:05:27 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Santosh Shilimkar X-Patchwork-Id: 19161 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3LC5dTF018452 for ; Tue, 21 Apr 2009 12:05:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753459AbZDUMFh (ORCPT ); Tue, 21 Apr 2009 08:05:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753950AbZDUMFh (ORCPT ); Tue, 21 Apr 2009 08:05:37 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:51902 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753459AbZDUMFg (ORCPT ); Tue, 21 Apr 2009 08:05:36 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n3LC5UpG025388 for ; Tue, 21 Apr 2009 07:05:36 -0500 Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id n3LC5SoG003932; Tue, 21 Apr 2009 17:35:29 +0530 (IST) Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by linfarm476.india.ti.com (8.12.11/8.12.11) with ESMTP id n3LC5Sol016098; Tue, 21 Apr 2009 17:35:28 +0530 Received: (from a0393909@localhost) by linfarm476.india.ti.com (8.12.11/8.12.11/Submit) id n3LC5Rvr016094; Tue, 21 Apr 2009 17:35:27 +0530 From: Santosh Shilimkar To: linux-omap@vger.kernel.org Cc: Santosh Shilimkar Subject: [PATCH] OMAP: Remove IRQ hardcoding from serial.c Date: Tue, 21 Apr 2009 17:35:27 +0530 Message-Id: <1240315527-16064-1-git-send-email-santosh.shilimkar@ti.com> X-Mailer: git-send-email 1.5.5 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org This patch removes hardcoding done for UART IRQ lines from serial.c file. Signed-off-by: Santosh Shilimkar --- 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,