serial/ns16550: don't generate functions for undefined ports
authorScott Wood <scottwood@freescale.com>
Fri, 18 Jan 2013 15:42:16 +0000 (15:42 +0000)
committerTom Rini <trini@ti.com>
Tue, 19 Feb 2013 22:01:25 +0000 (17:01 -0500)
commit55db9ccae38866c627e64b497deda73547a1e84b
tree16e61c3fd6de6b0336c5ef74c1a2cfeb3be50c69
parent1671ba7c0d5dd59c84cb3ae5dc586242d65cbf5f
serial/ns16550: don't generate functions for undefined ports

This saved 640 bytes on MPC8536DS (a board with two of the six
ports defined).

Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/serial/serial_ns16550.c