aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc
diff options
context:
space:
mode:
authorLidza Louina <lidza.louina@gmail.com>2013-08-21 13:27:26 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 10:48:40 -0700
commitba48f61b135ad1ace174f548507b2af386372fd5 (patch)
treebd94886f15cbe318f0908e4e27eed342fe12c145 /drivers/staging/dgnc
parentstaging: dgnc: tty.c: fixes pointer syntax (diff)
downloadlinux-dev-ba48f61b135ad1ace174f548507b2af386372fd5.tar.xz
linux-dev-ba48f61b135ad1ace174f548507b2af386372fd5.zip
staging: dgnc: fixes struct declaration
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>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r--drivers/staging/dgnc/dgnc_driver.h3
-rw-r--r--drivers/staging/dgnc/digi.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h
index 84727a715136..fbbb9f9f3ff9 100644
--- a/drivers/staging/dgnc/dgnc_driver.h
+++ b/drivers/staging/dgnc/dgnc_driver.h
@@ -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 */
diff --git a/drivers/staging/dgnc/digi.h b/drivers/staging/dgnc/digi.h
index a9700be2c2e2..eb6e37125727 100644
--- a/drivers/staging/dgnc/digi.h
+++ b/drivers/staging/dgnc/digi.h
@@ -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 */