aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgap/dgap.h
diff options
context:
space:
mode:
authorEbru Akagunduz <ebru.akagunduz@gmail.com>2014-03-07 16:23:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-07 15:04:20 -0800
commit857eef411c1b7ecfd17ddb4c28638b7df2758032 (patch)
tree7ddc7988d305d84a13176468df40a2beb8bfd775 /drivers/staging/dgap/dgap.h
parentStaging:wlags49_h25: Fix sparse warning for static declarations (diff)
downloadlinux-dev-857eef411c1b7ecfd17ddb4c28638b7df2758032.tar.xz
linux-dev-857eef411c1b7ecfd17ddb4c28638b7df2758032.zip
Staging:dgap: Fix open brace '{' following struct go on the same line in dgap.h
Fix checkpatch.pl issues with open brace '{' following struct go on the same line in dgap.h Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap/dgap.h')
-rw-r--r--drivers/staging/dgap/dgap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/dgap/dgap.h b/drivers/staging/dgap/dgap.h
index 84ab91d97c10..e21cc315610a 100644
--- a/drivers/staging/dgap/dgap.h
+++ b/drivers/staging/dgap/dgap.h
@@ -591,8 +591,7 @@ enum {
* A structure to hold a statistics counter. We also
* compute moving averages for this counter.
*/
-struct macounter
-{
+struct macounter {
u32 cnt; /* Total count */
ulong accum; /* Acuumulator per period */
ulong sma; /* Simple moving average */
@@ -609,8 +608,7 @@ struct macounter
/*
* Per-board information
*/
-struct board_t
-{
+struct board_t {
int magic; /* Board Magic number. */
int boardnum; /* Board number: 0-3 */
int firstminor; /* First minor, e.g. 0, 30, 60 */