]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: struct serial_device: add uninit() entry for drivers
authorAnatolij Gustschin <agust@denx.de>
Sat, 24 Apr 2010 17:27:04 +0000 (19:27 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 24 Apr 2010 19:34:07 +0000 (21:34 +0200)
commitfbb0030e3894119c089256f16626edd166c7629c
tree03fa427e4192ac88b607a5ba629f408d1fdff40f
parent6e5fb4eec3702a13770769a5a48a9423aa68ee9c
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>
arch/powerpc/cpu/mpc5xxx/serial.c
arch/powerpc/cpu/mpc8xx/serial.c
arch/powerpc/cpu/ppc4xx/4xx_uart.c
board/logicpd/zoom2/zoom2_serial.h
drivers/serial/serial.c
drivers/serial/serial_pxa.c
drivers/serial/serial_s3c24x0.c
drivers/serial/serial_s5pc1xx.c
include/serial.h