omap3: zoom 2/3: Change debugboard serial port id

Previous thread: omap3: zoom2/3: Register only 1 8250 port by Linux Kernel Mailing List on Tuesday, April 27, 2010 - 9:59 am. (1 message)

Next thread: omap3: zoom2/3 / 3630sdp: Don't init always all uarts by Linux Kernel Mailing List on Tuesday, April 27, 2010 - 9:59 am. (1 message)
From: Linux Kernel Mailing List
Date: Tuesday, April 27, 2010 - 9:59 am

Gitweb:     http://git.kernel.org/linus/fcbcea93abbe361e14dd458d0a5a3e9dadaa5ba9
Commit:     fcbcea93abbe361e14dd458d0a5a3e9dadaa5ba9
Parent:     9e265aa7ac493aa0a3de80aa3092d8677b3e8546
Author:     Sergio Aguirre <saaguirre@ti.com>
AuthorDate: Mon Mar 1 12:17:15 2010 -0600
Committer:  Sergio Aguirre <saaguirre@ti.com>
CommitDate: Mon Mar 15 16:34:20 2010 -0500

    omap3: zoom 2/3: Change debugboard serial port id
    
    This is now changed to PLAT8250_DEV_PLATFORM (= 0), because
    it's the only port that's going to be initialized in
    Zoom 2/3 boards.
    
    So, it doesn't make sense to keep the hardcoded 3 value anymore.
    
    Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
---
 arch/arm/mach-omap2/board-zoom-debugboard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c
index bb4018b..e15d2e8 100644
--- a/arch/arm/mach-omap2/board-zoom-debugboard.c
+++ b/arch/arm/mach-omap2/board-zoom-debugboard.c
@@ -96,7 +96,7 @@ static struct plat_serial8250_port serial_platform_data[] = {
 
 static struct platform_device zoom_debugboard_serial_device = {
 	.name			= "serial8250",
-	.id			= 3,
+	.id			= PLAT8250_DEV_PLATFORM,
 	.dev			= {
 		.platform_data	= serial_platform_data,
 	},
--

Previous thread: omap3: zoom2/3: Register only 1 8250 port by Linux Kernel Mailing List on Tuesday, April 27, 2010 - 9:59 am. (1 message)

Next thread: omap3: zoom2/3 / 3630sdp: Don't init always all uarts by Linux Kernel Mailing List on Tuesday, April 27, 2010 - 9:59 am. (1 message)