Commit 69c7ec3b authored by Zhansaya Bagdauletkyzy's avatar Zhansaya Bagdauletkyzy Committed by Greg Kroah-Hartman
Browse files

staging: rtl8712: add blank lines after declarations



Add blank lines after function/struct/union/enum declarations to adhere to
Linux kernel coding style.
Reported by checkpatch.

Signed-off-by: default avatarZhansaya Bagdauletkyzy <zhansayabagdaulet@gmail.com>
Link: https://lore.kernel.org/r/ffe2ab70ef3cb73d3d6dd19d88804af7ecb568a2.1617568354.git.zhansayabagdaulet@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d3361373
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@ struct phy_stat {
	__le32 phydw6;
	__le32 phydw7;
};

#define PHY_STAT_GAIN_TRSW_SHT 0
#define PHY_STAT_PWDB_ALL_SHT 4
#define PHY_STAT_CFOSHO_SHT 5
+10 −0
Original line number Diff line number Diff line
@@ -333,6 +333,7 @@ struct getdatarate_parm {
	u32 rsvd;

};

struct getdatarate_rsp {
	u8 datarates[NumRates];
};
@@ -377,6 +378,7 @@ struct getphy_rsp {
struct readBB_parm {
	u8	offset;
};

struct readBB_rsp {
	u8	value;
};
@@ -384,6 +386,7 @@ struct readBB_rsp {
struct readTSSI_parm {
	u8	offset;
};

struct readTSSI_rsp {
	u8	value;
};
@@ -400,6 +403,7 @@ struct writePTM_parm {
struct readRF_parm {
	u8	offset;
};

struct readRF_rsp {
	u32	value;
};
@@ -498,6 +502,7 @@ struct settxagctbl_parm {
struct gettxagctbl_parm {
	u32 rsvd;
};

struct gettxagctbl_rsp {
	u32	txagc[MAX_RATES_LENGTH];
};
@@ -513,6 +518,7 @@ struct setssup_parm {
struct getssup_parm	{
	u32 rsvd;
};

struct getssup_rsp	{
	u8	ss_ForceUp[MAX_RATES_LENGTH];
};
@@ -524,6 +530,7 @@ struct setssdlevel_parm {
struct getssdlevel_parm	{
	u32 rsvd;
};

struct getssdlevel_rsp	{
	u8	ss_DLevel[MAX_RATES_LENGTH];
};
@@ -535,6 +542,7 @@ struct setssulevel_parm {
struct getssulevel_parm	{
	u32 rsvd;
};

struct getssulevel_rsp	{
	u8	ss_ULevel[MAX_RATES_LENGTH];
};
@@ -585,6 +593,7 @@ struct setratable_parm {
struct getratable_parm {
	uint rsvd;
};

struct getratable_rsp {
	u8 ss_ForceUp[NumRates];
	u8 ss_ULevel[NumRates];
@@ -621,6 +630,7 @@ struct getbcnokcnt_rsp {
struct getbcnerrcnt_parm {
	unsigned int rsvd;
};

struct getbcnerrcnt_rsp {
	unsigned long bcnerrcnt;
};
+1 −0
Original line number Diff line number Diff line
@@ -102,6 +102,7 @@ struct ADDBA_Req_Report_parm {
	unsigned short StartSeqNum;
	unsigned char tid;
};

#include "rtl8712_event.h"

#endif /* _WLANEVENT_H_ */
+1 −0
Original line number Diff line number Diff line
@@ -387,6 +387,7 @@ void r8712_SwitchBandwidth(struct _adapter *pAdapter)
		break;
	}
}

/*------------------------------Define structure----------------------------*/
struct R_ANTENNA_SELECT_OFDM {
	u32	r_tx_antenna:4;
+1 −0
Original line number Diff line number Diff line
@@ -121,6 +121,7 @@ struct bb_reg_param {
	u32 offset;
	u32 value;
};

/* ======================================================================= */

#define LOWER	true
Loading