mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-06 13:23:18 +00:00
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: Zhansaya Bagdauletkyzy <zhansayabagdaulet@gmail.com> Link: https://lore.kernel.org/r/ffe2ab70ef3cb73d3d6dd19d88804af7ecb568a2.1617568354.git.zhansayabagdaulet@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d3361373bd
commit
69c7ec3b2b
@ -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
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -102,6 +102,7 @@ struct ADDBA_Req_Report_parm {
|
||||
unsigned short StartSeqNum;
|
||||
unsigned char tid;
|
||||
};
|
||||
|
||||
#include "rtl8712_event.h"
|
||||
|
||||
#endif /* _WLANEVENT_H_ */
|
||||
|
@ -387,6 +387,7 @@ void r8712_SwitchBandwidth(struct _adapter *pAdapter)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------------------Define structure----------------------------*/
|
||||
struct R_ANTENNA_SELECT_OFDM {
|
||||
u32 r_tx_antenna:4;
|
||||
|
@ -121,6 +121,7 @@ struct bb_reg_param {
|
||||
u32 offset;
|
||||
u32 value;
|
||||
};
|
||||
|
||||
/* ======================================================================= */
|
||||
|
||||
#define LOWER true
|
||||
|
@ -681,6 +681,7 @@ uint oid_rt_pro_read_efuse_hdl(struct oid_par_priv *poid_par_priv)
|
||||
*poid_par_priv->bytes_rw = poid_par_priv->information_buf_len;
|
||||
return status;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
uint oid_rt_pro_write_efuse_hdl(struct oid_par_priv *poid_par_priv)
|
||||
{
|
||||
@ -708,6 +709,7 @@ uint oid_rt_pro_write_efuse_hdl(struct oid_par_priv *poid_par_priv)
|
||||
status = RNDIS_STATUS_FAILURE;
|
||||
return status;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
uint oid_rt_get_efuse_current_size_hdl(struct oid_par_priv *poid_par_priv)
|
||||
@ -849,6 +851,7 @@ unsigned int mp_ioctl_xmit_packet_hdl(struct oid_par_priv *poid_par_priv)
|
||||
{
|
||||
return _SUCCESS;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
uint oid_rt_set_power_down_hdl(struct oid_par_priv *poid_par_priv)
|
||||
{
|
||||
|
@ -219,6 +219,7 @@ union recv_frame *r8712_decryptor(struct _adapter *padapter,
|
||||
}
|
||||
return return_packet;
|
||||
}
|
||||
|
||||
/*###set the security information in the recv_frame */
|
||||
union recv_frame *r8712_portctrl(struct _adapter *adapter,
|
||||
union recv_frame *precv_frame)
|
||||
|
Loading…
Reference in New Issue
Block a user