staging: vt6655 - add parameter names
PATCH v4 1/1 staging: vt6655 - add parameter names
Fix checkpatch.pl warnings of the form "function definition argument 'foo' should also have an identifier name" in header files.
Signed-off-by Derek Robson <[email protected]>
---
V1,V2 and V3 had vauge subject line.
drivers/staging/vt6655/card.h | 30 ++++++++++----------- drivers/staging/vt6655/channel.h | 4 +-- drivers/staging/vt6655/mac.h | 58 ++++++++++++++++++++-------------------- drivers/staging/vt6655/power.h | 16 +++-------- drivers/staging/vt6655/rf.h | 16 +++++------ 5 files changed, 57 insertions(+), 67 deletions(-)
drivers/staging/vt6655/card.h +15 -15
@@ -64,25 +64,25 @@ typedef enum _CARD_STATUS_TYPE {struct vnt_private ;void CARDvSetRSPINF (struct vnt_private *priv,u8 bb_type); -void CARDvUpdateBasicTopRate (struct vnt_private *); -bool CARDbIsOFDMinBasicRate (struct vnt_private *); -void CARDvSetLoopbackMode (struct vnt_private *,unsigned short wLoopbackMode); -bool CARDbSoftwareReset (struct vnt_private *); -void CARDvSetFirstNextTBTT (struct vnt_private *, +void CARDvUpdateBasicTopRate (struct vnt_private *priv); +bool CARDbIsOFDMinBasicRate (struct vnt_private *priv); +void CARDvSetLoopbackMode (struct vnt_private *priv,unsigned short wLoopbackMode); +bool CARDbSoftwareReset (struct vnt_private *priv); +void CARDvSetFirstNextTBTT (struct vnt_private *priv,unsigned short wBeaconInterval); -void CARDvUpdateNextTBTT (struct vnt_private *,u64 qwTSF, +void CARDvUpdateNextTBTT (struct vnt_private *priv,u64 qwTSF,unsigned short wBeaconInterval); -bool CARDbGetCurrentTSF (struct vnt_private *,u64 *pqwCurrTSF); +bool CARDbGetCurrentTSF (struct vnt_private *priv,u64 *pqwCurrTSF);u64 CARDqGetNextTBTT (u64 qwTSF,unsigned short wBeaconInterval);u64 CARDqGetTSFOffset (unsigned char byRxRate,u64 qwTSF1,u64 qwTSF2); -unsigned char CARDbyGetPktType (struct vnt_private *); -void CARDvSafeResetTx (struct vnt_private *); -void CARDvSafeResetRx (struct vnt_private *); -bool CARDbRadioPowerOff (struct vnt_private *); -bool CARDbRadioPowerOn (struct vnt_private *); -bool CARDbSetPhyParameter (struct vnt_private *,u8 ); -bool CARDbUpdateTSF (struct vnt_private *,unsigned char byRxRate, +unsigned char CARDbyGetPktType (struct vnt_private *priv); +void CARDvSafeResetTx (struct vnt_private *priv); +void CARDvSafeResetRx (struct vnt_private *priv); +bool CARDbRadioPowerOff (struct vnt_private *priv); +bool CARDbRadioPowerOn (struct vnt_private *priv); +bool CARDbSetPhyParameter (struct vnt_private *priv,u8 bb_type); +bool CARDbUpdateTSF (struct vnt_private *priv,unsigned char byRxRate,u64 qwBSSTimestamp); -bool CARDbSetBeaconPeriod (struct vnt_private *,unsigned short wBeaconInterval); +bool CARDbSetBeaconPeriod (struct vnt_private *priv,unsigned short wBeaconInterval);#endif /* __CARD_H__ */
drivers/staging/vt6655/channel.h +2 -2
@@ -21,8 +21,8 @@#include "card.h" -void vnt_init_bands (struct vnt_private *); +void vnt_init_bands (struct vnt_private *priv); -bool set_channel (struct vnt_private *,struct ieee80211_channel *); +bool set_channel (struct vnt_private *priv,struct ieee80211_channel *ch);#endif /* _CHANNEL_H_ */
drivers/staging/vt6655/mac.h +29 -29
86 lines not on this page · raw message
drivers/staging/vt6655/power.h +3 -13
@@ -31,20 +31,10 @@#define PS_FAST_INTERVAL 1/* Fast power saving listen interval */ #define PS_MAX_INTERVAL 4/* MAX power saving listen interval */ -void -PSvDisablePowerSaving ( -struct vnt_private * -); +void PSvDisablePowerSaving (struct vnt_private *priv); -void -PSvEnablePowerSaving ( -struct vnt_private *, -unsigned short wListenInterval -); +void PSvEnablePowerSaving (struct vnt_private *priv,unsigned short wListenInterval); -bool -PSbIsNextTBTTWakeUp ( -struct vnt_private * -); +bool PSbIsNextTBTTWakeUp (struct vnt_private *priv);#endif /* __POWER_H__ */
drivers/staging/vt6655/rf.h +8 -8
@@ -68,28 +68,28 @@/*--------------------- Export Functions --------------------------*/ -bool IFRFbWriteEmbedded (struct vnt_private *,unsigned long dwData); -bool RFbSelectChannel (struct vnt_private *,unsigned char byRFType,u16 ); +bool IFRFbWriteEmbedded (struct vnt_private *priv,unsigned long dwData); +bool RFbSelectChannel (struct vnt_private *priv,unsigned char byRFType,u16 byChannel);bool RFbInit ( -struct vnt_private * +struct vnt_private *priv ); -bool RFvWriteWakeProgSyn (struct vnt_private *,unsigned char byRFType,u16 ); -bool RFbSetPower (struct vnt_private *,unsigned int rate,u16 ); +bool RFvWriteWakeProgSyn (struct vnt_private *priv,unsigned char byRFType,u16 uChannel); +bool RFbSetPower (struct vnt_private *priv,unsigned int rate,u16 uCH);bool RFbRawSetPower ( -struct vnt_private *, +struct vnt_private *priv,unsigned char byPwr,unsigned int rate );void RFvRSSITodBm ( -struct vnt_private *, +struct vnt_private *priv,unsigned char byCurrRSSI,long *pldBm );/* {{ RobertYu: 20050104 */ -bool RFbAL7230SelectChannelPostProcess (struct vnt_private *,u16 ,u16 ); +bool RFbAL7230SelectChannelPostProcess (struct vnt_private *priv,u16 byOldChannel,u16 byNewChannel);/* }} RobertYu */ #endif /* __RF_H__ */
Signature · 1 line
2.13.0