summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-zoom-debugboard.c
diff options
context:
space:
mode:
authorSergio Aguirre <saaguirre@ti.com>2010-03-01 19:17:15 +0100
committerSergio Aguirre <saaguirre@ti.com>2010-03-15 22:34:20 +0100
commitfcbcea93abbe361e14dd458d0a5a3e9dadaa5ba9 (patch)
tree70351052f904b79653fe1218e836b2b549786382 /arch/arm/mach-omap2/board-zoom-debugboard.c
parentomap3: 3630sdp: Explicitly enable all UARTs (diff)
downloadlinux-fcbcea93abbe361e14dd458d0a5a3e9dadaa5ba9.tar.xz
linux-fcbcea93abbe361e14dd458d0a5a3e9dadaa5ba9.zip
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>
Diffstat (limited to 'arch/arm/mach-omap2/board-zoom-debugboard.c')
-rw-r--r--arch/arm/mach-omap2/board-zoom-debugboard.c2
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 bb4018b60642..e15d2e87cfc1 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,
},