mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-28 23:23:30 +08:00
serial: Coding style cleanup of struct serial_device
Do a simple cleanup of the struct serial_device and align it with current coding style. Checkpatch now reports no errors. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
This commit is contained in:
parent
51926d5ee0
commit
78322d63ea
@ -5,20 +5,19 @@
|
||||
|
||||
struct serial_device {
|
||||
/* enough bytes to match alignment of following func pointer */
|
||||
char name[16];
|
||||
char name[16];
|
||||
|
||||
int (*init) (void);
|
||||
int (*uninit) (void);
|
||||
void (*setbrg) (void);
|
||||
int (*getc) (void);
|
||||
int (*tstc) (void);
|
||||
void (*putc) (const char c);
|
||||
void (*puts) (const char *s);
|
||||
int (*init)(void);
|
||||
int (*uninit)(void);
|
||||
void (*setbrg)(void);
|
||||
int (*getc)(void);
|
||||
int (*tstc)(void);
|
||||
void (*putc)(const char c);
|
||||
void (*puts)(const char *s);
|
||||
#if CONFIG_POST & CONFIG_SYS_POST_UART
|
||||
void (*loop) (int);
|
||||
void (*loop)(int);
|
||||
#endif
|
||||
|
||||
struct serial_device *next;
|
||||
struct serial_device *next;
|
||||
};
|
||||
|
||||
extern struct serial_device serial_smc_device;
|
||||
|
Loading…
Reference in New Issue
Block a user