omap: Eliminate OMAP_MAX_NR_PORTS
commitcbf7bc6a38f2e70f2184df271feb9509518fc2d1
authorAlexander Shishkin <virtuoso@slind.org>
Fri, 16 Oct 2009 23:34:10 +0000 (16 16:34 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 16 Oct 2009 23:34:10 +0000 (16 16:34 -0700)
treed723784ae1d3bb2f1b81152277cd8242c0385c91
parent577d7ce87b4d7fdb5eb3d4d7229982973cc818db
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.

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/serial.c
arch/arm/mach-omap2/serial.c
arch/arm/plat-omap/include/mach/serial.h