[SERIAL] Use an enum for serial8250 platform device IDs
[pandora-kernel.git] / arch / ppc64 / kernel / setup.c
index d0bb68a..bfa8791 100644 (file)
@@ -1283,7 +1283,7 @@ void __init generic_find_legacy_serial_ports(u64 *physport,
 
 static struct platform_device serial_device = {
        .name   = "serial8250",
-       .id     = 0,
+       .id     = PLAT8250_DEV_PLATFORM,
        .dev    = {
                .platform_data = serial_ports,
        },