From: Alexander Shishkin Date: Sun, 22 Nov 2009 18:10:47 +0000 (-0800) Subject: omap: Eliminate OMAP_MAX_NR_PORTS X-Git-Tag: v2.6.32-omap1~13^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d30b99f352a7f21f93f0f3e2f0eecf8aa7847c1;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