From: Ladislav Michl Date: Wed, 21 Oct 2009 00:29:03 +0000 (-0700) Subject: Fix serial.c for mach-omap1 X-Git-Tag: v2.6.32-omap1~11^2^2~1^2^2^2^2^2~8^2^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=368df1285a7abfa4ba28b6e84dca0352ef4b1067;p=pandora-kernel.git Fix serial.c for mach-omap1 An earlier serial.c patch broke all OMAP1 boards. NULL terminator entry for omap1 serial_platform_data cannot be removed just because serial driver uses is as last entry marker. Without it we end this way: Unable to handle kernel NULL pointer dereference at virtual address 00000028 pgd = c0004000 [00000028] *pgd=00000000 Internal error: Oops: 80000005 [#1] last sysfs file: Modules linked in: CPU: 0 Not tainted (2.6.32-rc5-06314-g4155da6-dirty #12) PC is at 0x28 LR is at serial8250_config_port+0x184/0xc34 (...etc...) Signed-off-by: Ladislav Michl --- Reading git-diff-tree failed