From: Alexander Shishkin Date: Fri, 13 Nov 2009 00:17:47 +0000 (-0800) Subject: omap: Eliminate OMAP_MAX_NR_PORTS X-Git-Tag: v2.6.32-omap1~11^2^2~1^2^2~2^2~51 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64b4986b1471e97941b3f972c29702e173b10ebf;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