summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-07 14:35:31 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:53:48 -0700
commit89143fb3b0cc9897b7aa9ec8b6028a6c624887d4 (patch)
tree9e816e97bf358e4796387444ef44c665a5b192f2 /drivers
parent78322d63eac41957a41cd26d9b2e904da4a42fa1 (diff)
downloadu-boot-imx-89143fb3b0cc9897b7aa9ec8b6028a6c624887d4.zip
u-boot-imx-89143fb3b0cc9897b7aa9ec8b6028a6c624887d4.tar.gz
u-boot-imx-89143fb3b0cc9897b7aa9ec8b6028a6c624887d4.tar.bz2
serial: Rename .init() and .uninit() in serial_device
Rename .init() to .start() and .uninit() to .stop() in struct serial_device. This allows aligning struct serial_device with closer to struct stdio_dev. The real goal here is to allow these two structures to converge together and eventually make one to be a superset of the other. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/serial_zynq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c
index 3832236..35bbebe 100644
--- a/drivers/serial/serial_zynq.c
+++ b/drivers/serial/serial_zynq.c
@@ -219,8 +219,8 @@ int serial_tstc(void)
/* Serial device descriptor */
#define INIT_PSSERIAL_STRUCTURE(port, __name) { \
.name = __name, \
- .init = uart_zynq##port##_init, \
- .uninit = NULL, \
+ .start = uart_zynq##port##_init, \
+ .stop = NULL, \
.setbrg = uart_zynq##port##_setbrg, \
.getc = uart_zynq##port##_getc, \
.tstc = uart_zynq##port##_tstc, \