Browse Source

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>
Sergio Aguirre 15 years ago
parent
commit
fcbcea93ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-omap2/board-zoom-debugboard.c

+ 1 - 1
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 = {
 static struct platform_device zoom_debugboard_serial_device = {
 	.name			= "serial8250",
 	.name			= "serial8250",
-	.id			= 3,
+	.id			= PLAT8250_DEV_PLATFORM,
 	.dev			= {
 	.dev			= {
 		.platform_data	= serial_platform_data,
 		.platform_data	= serial_platform_data,
 	},
 	},