From: Marek Vasut Date: Fri, 7 Sep 2012 12:32:10 +0000 (+0200) Subject: serial: Coding style cleanup of struct serial_device X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=78322d63eac41957a41cd26d9b2e904da4a42fa1;p=u-boot.git 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 Cc: Marek Vasut Cc: Tom Rini --- diff --git a/include/serial.h b/include/serial.h index 826b488496..e021a4cf6f 100644 --- a/include/serial.h +++ b/include/serial.h @@ -5,20 +5,19 @@ struct serial_device { /* enough bytes to match alignment of following func pointer */ - 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); + 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); #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;