[PATCH net-next 04/10] net: sealevel: open brace '{' following struct go on the same line
From: Guangbin Huang
Date: Sun May 30 2021 - 02:28:00 EST
From: Peng Li <lipeng321@xxxxxxxxxx>
Fix the checkpatch error as open brace '{' following struct should
go on the same line.
Signed-off-by: Peng Li <lipeng321@xxxxxxxxxx>
Signed-off-by: Guangbin Huang <huangguangbin2@xxxxxxxxxx>
---
drivers/net/wan/sealevel.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wan/sealevel.c b/drivers/net/wan/sealevel.c
index 465c9ace1dc7..b484d1f7b176 100644
--- a/drivers/net/wan/sealevel.c
+++ b/drivers/net/wan/sealevel.c
@@ -29,14 +29,12 @@
#include <asm/byteorder.h>
#include "z85230.h"
-struct slvl_device
-{
+struct slvl_device {
struct z8530_channel *chan;
int channel;
};
-struct slvl_board
-{
+struct slvl_board {
struct slvl_device dev[2];
struct z8530_dev board;
int iobase;
--
2.8.1