]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ppc/syslib/mpc83xx_devices.c
[PATCH] ppc32 8xx: use io accessor macros instead of direct memory reference
[linux-2.6-omap-h63xx.git] / arch / ppc / syslib / mpc83xx_devices.c
index 5aaf0e58e1f9d2f7b0b187ed475e98c81c8901de..dbf8acac507feb0b232dd79fb57cfed0d4e00961 100644 (file)
@@ -21,6 +21,7 @@
 #include <asm/mpc83xx.h>
 #include <asm/irq.h>
 #include <asm/ppc_sys.h>
+#include <asm/machdep.h>
 
 /* We use offsets for IORESOURCE_MEM since we do not know at compile time
  * what IMMRBAR is, will get fixed up by mach_mpc83xx_fixup
@@ -165,7 +166,7 @@ struct platform_device ppc_sys_platform_devices[] = {
        },
        [MPC83xx_DUART] = {
                .name = "serial8250",
-               .id     = 0,
+               .id     = PLAT8250_DEV_PLATFORM,
                .dev.platform_data = serial_platform_data,
        },
        [MPC83xx_SEC2] = {