From: Alexander Shishkin Date: Sat, 14 Nov 2009 01:36:59 +0000 (-0800) Subject: omap: Eliminate OMAP_MAX_NR_PORTS X-Git-Tag: v2.6.32-omap1~11^2^2~3^2~54 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3b2232aeea0d7c0d8f26b45214083f541f1f6b5;p=pandora-kernel.git omap: Eliminate OMAP_MAX_NR_PORTS Eliminate OMAP_MAX_NR_PORTS Note that also the null terminator entry for omap1 serial_platform_data needs to be now removed to avoid oopsing. Note that mach-omap1 uses struct plat_serial8250_port array, which requires a null terminator at the end, and that's why we need to use ARRAY_SIZE - 1. This is not needed on mach-omap2 as the array used is struct omap_uart_state, and does not use a null terminator. Signed-off-by: Alexander Shishkin Acked-by: Kevin Hilman Signed-off-by: Ladislav Michl Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed