Commit 857eef41 authored by Ebru Akagunduz's avatar Ebru Akagunduz Committed by Greg Kroah-Hartman

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: default avatarEbru Akagunduz <ebru.akagunduz@gmail.com>
Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1cfe98f5
...@@ -591,8 +591,7 @@ enum { ...@@ -591,8 +591,7 @@ enum {
* A structure to hold a statistics counter. We also * A structure to hold a statistics counter. We also
* compute moving averages for this counter. * compute moving averages for this counter.
*/ */
struct macounter struct macounter {
{
u32 cnt; /* Total count */ u32 cnt; /* Total count */
ulong accum; /* Acuumulator per period */ ulong accum; /* Acuumulator per period */
ulong sma; /* Simple moving average */ ulong sma; /* Simple moving average */
...@@ -609,8 +608,7 @@ struct macounter ...@@ -609,8 +608,7 @@ struct macounter
/* /*
* 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-3 */ int boardnum; /* Board number: 0-3 */
int firstminor; /* First minor, e.g. 0, 30, 60 */ int firstminor; /* First minor, e.g. 0, 30, 60 */
......
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