Davinci: serial - remove unnecessary define
authorCyril Chemparathy <cyril@ti.com>
Sun, 2 May 2010 18:28:12 +0000 (14:28 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 6 May 2010 22:02:10 +0000 (15:02 -0700)
commitda0122ca8b7804b9cd8fa7eff466bafba27f09a3
tree50e9b45cf4c633dfa851ccd4b224896388ea8eb4
parentc78a5bc2e77e8fc5be29cda5b28c9b9afd0f4b6d
Davinci: serial - remove unnecessary define

The uart pdata array is already terminated by a zero flag field.

This patch reuses this terminator and eliminates DAVINCI_MAX_NR_UARTS
definition.  This way, future platforms can have different number of uarts
initialized via davinci_serial_init().

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/include/mach/serial.h
arch/arm/mach-davinci/serial.c