OMAP2/3/4: UART: allow in-order port traversal
authorKevin Hilman <khilman@deeprootsystems.com>
Wed, 1 Jul 2009 04:02:45 +0000 (21:02 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 5 Aug 2009 16:10:53 +0000 (09:10 -0700)
commitbcf396c48012a5e4c7ab77be5c40df10d6bdb8ad
tree0183319506205b137aff15a6e1eb106b29567c30
parentfd455ea899b5a14a8cdd276e15f3b47696526f92
OMAP2/3/4: UART: allow in-order port traversal

Use list_add_tail() when adding discovered UART ports.  This is so
traversal using list_for_each_entry() will traverse the list in the
order they were found.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/serial.c