OSDN Git Service

staging: dgnc: fixes struct declaration
authorLidza Louina <lidza.louina@gmail.com>
Wed, 21 Aug 2013 17:27:26 +0000 (13:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 17:48:40 +0000 (10:48 -0700)
This patch fixes the error: open brace '{'
following struct go on the same line.

Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.h
drivers/staging/dgnc/digi.h

index 84727a7..fbbb9f9 100644 (file)
@@ -282,8 +282,7 @@ struct board_ops {
 /*
  *     Per-board information
  */
-struct board_t
-{
+struct board_t {
        int             magic;          /* Board Magic number.  */
        int             boardnum;       /* Board number: 0-32 */
 
index a9700be..eb6e371 100644 (file)
@@ -318,8 +318,7 @@ struct digi_getbuffer /* Struct for holding buffer use counts */
        unsigned long txdone;
 };
 
-struct digi_getcounter
-{
+struct digi_getcounter {
        unsigned long norun;            /* number of UART overrun errors */
        unsigned long noflow;           /* number of buffer overflow errors */
        unsigned long nframe;           /* number of framing errors */