ARM: SAMSUNG: serial: Modify console initialization.
authorThomas Abraham <thomas.ab@samsung.com>
Thu, 14 Jan 2010 06:05:38 +0000 (15:05 +0900)
committerBen Dooks <ben-linux@fluff.org>
Tue, 19 Jan 2010 08:50:47 +0000 (17:50 +0900)
commit51fe52229e3765dc56b8d2dd5df656fbf8a20500
tree5d26164280bdd77137df3e3db04069702c182bd2
parentbb9b1c772727849051e485a877aa9a4b2d3ac1a1
ARM: SAMSUNG: serial: Modify console initialization.

This patch modifies s3c24xx_serial_initconsole function to accept multiple
platform UART information structures. This is required on platforms that have
differences among the instances of UART ports. As an example, the FIFO sizes
could be different for each UART instance and hence multiple platform UART
information structures would be needed.

This patch also modifies the s3c24xx_console_init macro since it wraps the
call to the s3c24xx_serial_initconsole function.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/serial/samsung.c
drivers/serial/samsung.h