From 89143fb3b0cc9897b7aa9ec8b6028a6c624887d4 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 7 Sep 2012 14:35:31 +0200 Subject: 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 Cc: Marek Vasut Signed-off-by: Tom Rini --- drivers/serial/serial_zynq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/serial/serial_zynq.c') 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, \ -- cgit v1.1