projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cfe98f
)
Staging:dgap: Fix open brace '{' following struct go on the same line in dgap.h
author
Ebru Akagunduz
<
[email protected]
>
Fri, 7 Mar 2014 14:23:42 +0000
(16:23 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 7 Mar 2014 23:04:20 +0000
(15:04 -0800)
Fix checkpatch.pl issues with open brace '{'
following struct go on the same line in dgap.h
Signed-off-by: Ebru Akagunduz <
[email protected]
>
Acked-by: Paul E. McKenney <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/dgap/dgap.h
patch
|
blob
|
history
diff --git
a/drivers/staging/dgap/dgap.h
b/drivers/staging/dgap/dgap.h
index 84ab91d97c104c1e8d8d0c6c91e4493d1439114a..e21cc315610a797e81f181db4e0798aca1b49291 100644
(file)
--- 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 */