mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
Staging: rtl8723bs: fix names in rtl8723b_hal.h
This commit converts names of structs / enums in include/rtl8723b_hal.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati <marcocesati@gmail.com> Link: https://lore.kernel.org/r/20210317222130.29528-19-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
07e80bb55a
commit
30bd370f74
@@ -3695,7 +3695,7 @@ exit:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void process_c2h_event(struct adapter *padapter, struct C2H_EVT_HDR *pC2hEvent, u8 *c2hBuf)
|
||||
static void process_c2h_event(struct adapter *padapter, struct c2h_evt_hdr_t *pC2hEvent, u8 *c2hBuf)
|
||||
{
|
||||
u8 index = 0;
|
||||
|
||||
@@ -3739,7 +3739,7 @@ static void process_c2h_event(struct adapter *padapter, struct C2H_EVT_HDR *pC2h
|
||||
|
||||
void C2HPacketHandler_8723B(struct adapter *padapter, u8 *pbuffer, u16 length)
|
||||
{
|
||||
struct C2H_EVT_HDR C2hEvent;
|
||||
struct c2h_evt_hdr_t C2hEvent;
|
||||
u8 *tmpBuf = NULL;
|
||||
C2hEvent.CmdID = pbuffer[0];
|
||||
C2hEvent.CmdSeq = pbuffer[1];
|
||||
|
||||
@@ -349,7 +349,7 @@ static void rtl8723bs_recv_tasklet(struct tasklet_struct *t)
|
||||
RT_TRACE(_module_rtl871x_recv_c_, _drv_dump_, ("%s: rtw_recv_entry(precvframe) != _SUCCESS\n", __func__));
|
||||
}
|
||||
} else if (pattrib->pkt_rpt_type == C2H_PACKET) {
|
||||
struct C2H_EVT_HDR C2hEvent;
|
||||
struct c2h_evt_hdr_t C2hEvent;
|
||||
|
||||
u16 len_c2h = pattrib->pkt_len;
|
||||
u8 *pbuf_c2h = precvframe->u.hdr.rx_data;
|
||||
|
||||
@@ -156,7 +156,7 @@ struct rt_firmware_hdr {
|
||||
/* Description: Determine the types of C2H events that are the same in driver
|
||||
* and FW; First constructed by tynli. 2009.10.09.
|
||||
*/
|
||||
enum C2H_EVT {
|
||||
enum c2h_evt {
|
||||
C2H_DBG = 0,
|
||||
C2H_TSF = 1,
|
||||
C2H_AP_RPT_RSP = 2,
|
||||
@@ -172,13 +172,13 @@ enum C2H_EVT {
|
||||
MAX_C2HEVENT
|
||||
};
|
||||
|
||||
struct C2H_EVT_HDR {
|
||||
struct c2h_evt_hdr_t {
|
||||
u8 CmdID;
|
||||
u8 CmdLen;
|
||||
u8 CmdSeq;
|
||||
} __attribute__((__packed__));
|
||||
|
||||
enum PACKAGE_TYPE_E { /* tag_Package_Definition */
|
||||
enum package_type_e { /* tag_Package_Definition */
|
||||
PACKAGE_DEFAULT,
|
||||
PACKAGE_QFN68,
|
||||
PACKAGE_TFBGA90,
|
||||
|
||||
Reference in New Issue
Block a user