]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAP: Zoom2: update serial platform_data id for external UART
authorVikram Pandita <vikram.pandita@ti.com>
Fri, 21 Aug 2009 18:11:06 +0000 (13:11 -0500)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 2 Sep 2009 22:07:55 +0000 (15:07 -0700)
Now that on-chip UARTs each have separate platform_data, the external
UART needs an non-conflicting ID.  Since there are 3 on-chip UARTs,
the Zoom2 external UART will be registered after as the fourth.

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/board-zoom-debugboard.c

index f546063775b398927b6bbc2b5d17fbc731217394..e0948c9229883c4017c68af1493e84c0474e5ad6 100644 (file)
@@ -96,7 +96,7 @@ static struct plat_serial8250_port serial_platform_data[] = {
 
 static struct platform_device zoom2_debugboard_serial_device = {
        .name                   = "serial8250",
-       .id                     = PLAT8250_DEV_PLATFORM1,
+       .id                     = 3,
        .dev                    = {
                .platform_data  = serial_platform_data,
        },