mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -7,8 +7,8 @@ struct serial_device {
|
||||
/* enough bytes to match alignment of following func pointer */
|
||||
char name[16];
|
||||
|
||||
int (*init)(void);
|
||||
int (*uninit)(void);
|
||||
int (*start)(void);
|
||||
int (*stop)(void);
|
||||
void (*setbrg)(void);
|
||||
int (*getc)(void);
|
||||
int (*tstc)(void);
|
||||
|
Reference in New Issue
Block a user