summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_s5pc1xx.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-04-24 19:27:04 +0200
committerWolfgang Denk <wd@denx.de>2010-04-24 21:34:07 +0200
commitfbb0030e3894119c089256f16626edd166c7629c (patch)
tree03fa427e4192ac88b607a5ba629f408d1fdff40f /drivers/serial/serial_s5pc1xx.c
parent6e5fb4eec3702a13770769a5a48a9423aa68ee9c (diff)
downloadu-boot-imx-fbb0030e3894119c089256f16626edd166c7629c.zip
u-boot-imx-fbb0030e3894119c089256f16626edd166c7629c.tar.gz
u-boot-imx-fbb0030e3894119c089256f16626edd166c7629c.tar.bz2
serial: struct serial_device: add uninit() entry for drivers
Subsequent patch extends mpc512x serial driver to support multiple PSC ports. The driver will provide an uninit() function to stop the serial controller and to disable the controller's clock. Adding uninit() entry to struct serial_device allows disabling the serial controller after usage of a stdio serial device. This patch adds uninit() entry to the struct serial_device and fixes initialization of this structure in the code accordingly. Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/serial/serial_s5pc1xx.c')
-rw-r--r--drivers/serial/serial_s5pc1xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/serial_s5pc1xx.c b/drivers/serial/serial_s5pc1xx.c
index 73669a9..8da0c86 100644
--- a/drivers/serial/serial_s5pc1xx.c
+++ b/drivers/serial/serial_s5pc1xx.c
@@ -185,6 +185,7 @@ void s5p_serial##port##_puts(const char *s) { serial_puts_dev(s, port); }
name, \
bus, \
s5p_serial##port##_init, \
+ NULL, \
s5p_serial##port##_setbrg, \
s5p_serial##port##_getc, \
s5p_serial##port##_tstc, \