Merge master.kernel.org:/home/rmk/linux-2.6-serial
[linux-3.10.git] / arch / arm / mach-omap1 / serial.c
index e702e0cb899e251c40f77de2eeef64f1de1d6ced..40c4f7c40e73369d6b7f052ca66e966012b99d67 100644 (file)
@@ -98,7 +98,7 @@ static struct plat_serial8250_port serial_platform_data[] = {
 
 static struct platform_device serial_device = {
        .name                   = "serial8250",
 
 static struct platform_device serial_device = {
        .name                   = "serial8250",
-       .id                     = 0,
+       .id                     = PLAT8250_DEV_PLATFORM,
        .dev                    = {
                .platform_data  = serial_platform_data,
        },
        .dev                    = {
                .platform_data  = serial_platform_data,
        },