drivers: staging: rtl8192u: Fix "space required before that '*'" errors
PATCH 1/1 drivers: staging: rtl8192u: Fix "space required before that '*'" errors
Fix checkpatch.pl "space required before that '*'" errors
Signed-off-by Greg Donald <[email protected]>
--- drivers/staging/rtl8192u/ieee80211/ieee80211.h | 6 +++--- drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h | 2 +- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 8 ++++---- drivers/staging/rtl8192u/r8192U_hw.h | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211.h +3 -3
@@ -1211,7 +1211,7 @@ typedef union _frameqos { u16 reserved:1; u16 txop:8; }field; -}frameqos,*pframeqos; +} frameqos, *pframeqos;/* SWEEP TABLE ENTRIES NUMBER*/ #define MAX_SWEEP_TAB_ENTRIES 42
@@ -1648,7 +1648,7 @@ typedef struct _bandwidth_autoswitch {long threshold_40Mhzto20Mhz;bool bforced_tx20Mhz;bool bautoswitch_enable; -}bandwidth_autoswitch,*pbandwidth_autoswitch; +} bandwidth_autoswitch, *pbandwidth_autoswitch;//added by amy for order
@@ -1745,7 +1745,7 @@ typedef struct _RT_POWER_SAVE_CONTROL {// bool bLeisurePs; -}RT_POWER_SAVE_CONTROL ,*PRT_POWER_SAVE_CONTROL ; +}RT_POWER_SAVE_CONTROL , *PRT_POWER_SAVE_CONTROL ;typedef u32 RT_RF_CHANGE_SOURCE ;#define RF_CHANGE_BY_SW BIT31
drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h +1 -1
@@ -53,7 +53,7 @@ typedef enum _HT_MCS_RATE{HT_MCS14 =0x00004000 ,HT_MCS15 =0x00008000 ,// Do not define MCS32 here although 8190 support MCS32 -}HT_MCS_RATE,*PHT_MCS_RATE; +} HT_MCS_RATE, *PHT_MCS_RATE;// // Represent Channel Width in HT Capabilities
drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h +4 -4
@@ -66,7 +66,7 @@ typedef u32 QOS_MODE, *PQOS_MODE;typedef enum _ACK_POLICY { eAckPlc0_ACK =0x00 , eAckPlc1_NoACK =0x01 , -}ACK_POLICY ,*PACK_POLICY ; +}ACK_POLICY , *PACK_POLICY ;#define WMM_PARAM_ELEMENT_SIZE (8+(4*AC_PARAM_SIZE))
@@ -276,7 +276,7 @@ typedef union _AC_PARAM{typedef enum _QOS_ELE_SUBTYPE {QOSELE_TYPE_INFO =0x00 ,// 0x00: Information element QOSELE_TYPE_PARAM =0x01 ,// 0x01: parameter element -}QOS_ELE_SUBTYPE ,*PQOS_ELE_SUBTYPE ; +}QOS_ELE_SUBTYPE , *PQOS_ELE_SUBTYPE ;//
@@ -288,7 +288,7 @@ typedef enum _DIRECTION_VALUE{DIR_DOWN =1 ,// 0x01 // DownLink DIR_DIRECT =2 ,// 0x10 // DirectLink DIR_BI_DIR =3 ,// 0x11 // Bi-Direction -}DIRECTION_VALUE,*PDIRECTION_VALUE; +} DIRECTION_VALUE, *PDIRECTION_VALUE;//
@@ -363,7 +363,7 @@ typedef enum _ACM_METHOD{ eAcmWay0_SwAndHw =0 ,// By SW and HW. eAcmWay1_HW =1 ,// By HW. eAcmWay2_SW =2 ,// By SW. -}ACM_METHOD,*PACM_METHOD; +} ACM_METHOD, *PACM_METHOD; typedef struct _ACM{
drivers/staging/rtl8192u/r8192U_hw.h +1 -1
@@ -24,7 +24,7 @@ typedef enum _VERSION_819xU{ VERSION_819xU_A,// A-cut VERSION_819xU_B,// B-cut VERSION_819xU_C,// C-cut -}VERSION_819xU,*PVERSION_819xU; +} VERSION_819xU, *PVERSION_819xU;//added for different RF type typedef enum _RT_RF_TYPE_DEF {
Signature · 1 line
1.9.1