Commit ba48f61b authored by Lidza Louina's avatar Lidza Louina Committed by Greg Kroah-Hartman

staging: dgnc: fixes struct declaration

This patch fixes the error: open brace '{'
following struct go on the same line.
Signed-off-by: default avatarLidza Louina <lidza.louina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 58b905b3
...@@ -282,8 +282,7 @@ struct board_ops { ...@@ -282,8 +282,7 @@ struct board_ops {
/* /*
* Per-board information * Per-board information
*/ */
struct board_t struct board_t {
{
int magic; /* Board Magic number. */ int magic; /* Board Magic number. */
int boardnum; /* Board number: 0-32 */ int boardnum; /* Board number: 0-32 */
......
...@@ -318,8 +318,7 @@ struct digi_getbuffer /* Struct for holding buffer use counts */ ...@@ -318,8 +318,7 @@ struct digi_getbuffer /* Struct for holding buffer use counts */
unsigned long txdone; unsigned long txdone;
}; };
struct digi_getcounter struct digi_getcounter {
{
unsigned long norun; /* number of UART overrun errors */ unsigned long norun; /* number of UART overrun errors */
unsigned long noflow; /* number of buffer overflow errors */ unsigned long noflow; /* number of buffer overflow errors */
unsigned long nframe; /* number of framing errors */ unsigned long nframe; /* number of framing errors */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment