[PATCH] ppc32: Fix platform device initialization of 8250 serial ports

Initialization of 8250 serial ports that are platform devices require that
at empty entry exists in the array of plat_serial8250_port. With out an
empty entry we can get some pretty random behavior.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Kumar Gala and committed by Linus Torvalds 7f8cd80f 84ddaa8c

+2
+1
arch/ppc/syslib/mpc83xx_devices.c
··· 61 61 .iotype = UPIO_MEM, 62 62 .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, 63 63 }, 64 + { }, 64 65 }; 65 66 66 67 struct platform_device ppc_sys_platform_devices[] = {
+1
arch/ppc/syslib/mpc85xx_devices.c
··· 61 61 .iotype = UPIO_MEM, 62 62 .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_SHARE_IRQ, 63 63 }, 64 + { }, 64 65 }; 65 66 66 67 struct platform_device ppc_sys_platform_devices[] = {