Staging: rt28x0: remove typedefs (part one)
Remove typedefs from rtmp_type.h.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/drivers/staging/rt2860/spectrum.h b/drivers/staging/rt2860/spectrum.h
index b1e3ba0..b4e9fbc 100644
--- a/drivers/staging/rt2860/spectrum.h
+++ b/drivers/staging/rt2860/spectrum.h
@@ -31,7 +31,7 @@
#include "rtmp_type.h"
#include "spectrum_def.h"
-CHAR RTMP_GetTxPwr(IN PRTMP_ADAPTER pAd, IN HTTRANSMIT_SETTING HTTxMode);
+char RTMP_GetTxPwr(IN PRTMP_ADAPTER pAd, IN HTTRANSMIT_SETTING HTTxMode);
/*
==========================================================================
@@ -45,16 +45,16 @@
Return : None.
==========================================================================
*/
-VOID MakeMeasurementReqFrame(IN PRTMP_ADAPTER pAd,
- OUT PUCHAR pOutBuffer,
- OUT PULONG pFrameLen,
- IN UINT8 TotalLen,
- IN UINT8 Category,
- IN UINT8 Action,
- IN UINT8 MeasureToken,
- IN UINT8 MeasureReqMode,
- IN UINT8 MeasureReqType,
- IN UINT8 NumOfRepetitions);
+void MakeMeasurementReqFrame(IN PRTMP_ADAPTER pAd,
+ u8 *pOutBuffer,
+ unsigned long *pFrameLen,
+ u8 TotalLen,
+ u8 Category,
+ u8 Action,
+ u8 MeasureToken,
+ u8 MeasureReqMode,
+ u8 MeasureReqType,
+ u8 NumOfRepetitions);
/*
==========================================================================
@@ -68,13 +68,13 @@
Return : None.
==========================================================================
*/
-VOID EnqueueMeasurementRep(IN PRTMP_ADAPTER pAd,
- IN PUCHAR pDA,
- IN UINT8 DialogToken,
- IN UINT8 MeasureToken,
- IN UINT8 MeasureReqMode,
- IN UINT8 MeasureReqType,
- IN UINT8 ReportInfoLen, IN PUINT8 pReportInfo);
+void EnqueueMeasurementRep(IN PRTMP_ADAPTER pAd,
+ u8 *pDA,
+ u8 DialogToken,
+ u8 MeasureToken,
+ u8 MeasureReqMode,
+ u8 MeasureReqType,
+ u8 ReportInfoLen, u8 *pReportInfo);
/*
==========================================================================
@@ -88,7 +88,7 @@
Return : None.
==========================================================================
*/
-VOID EnqueueTPCReq(IN PRTMP_ADAPTER pAd, IN PUCHAR pDA, IN UCHAR DialogToken);
+void EnqueueTPCReq(IN PRTMP_ADAPTER pAd, u8 *pDA, u8 DialogToken);
/*
==========================================================================
@@ -102,9 +102,9 @@
Return : None.
==========================================================================
*/
-VOID EnqueueTPCRep(IN PRTMP_ADAPTER pAd,
- IN PUCHAR pDA,
- IN UINT8 DialogToken, IN UINT8 TxPwr, IN UINT8 LinkMargin);
+void EnqueueTPCRep(IN PRTMP_ADAPTER pAd,
+ u8 *pDA,
+ u8 DialogToken, u8 TxPwr, u8 LinkMargin);
/*
==========================================================================
@@ -120,8 +120,8 @@
Return : None.
==========================================================================
*/
-VOID EnqueueChSwAnn(IN PRTMP_ADAPTER pAd,
- IN PUCHAR pDA, IN UINT8 ChSwMode, IN UINT8 NewCh);
+void EnqueueChSwAnn(IN PRTMP_ADAPTER pAd,
+ u8 *pDA, u8 ChSwMode, u8 NewCh);
/*
==========================================================================
@@ -135,7 +135,7 @@
Return : None.
==========================================================================
*/
-VOID PeerSpectrumAction(IN PRTMP_ADAPTER pAd, IN MLME_QUEUE_ELEM * Elem);
+void PeerSpectrumAction(IN PRTMP_ADAPTER pAd, IN MLME_QUEUE_ELEM * Elem);
/*
==========================================================================
@@ -146,44 +146,44 @@
Return : None.
==========================================================================
*/
-INT Set_MeasureReq_Proc(IN PRTMP_ADAPTER pAd, IN PSTRING arg);
+int Set_MeasureReq_Proc(IN PRTMP_ADAPTER pAd, char *arg);
-INT Set_TpcReq_Proc(IN PRTMP_ADAPTER pAd, IN PSTRING arg);
+int Set_TpcReq_Proc(IN PRTMP_ADAPTER pAd, char *arg);
-INT Set_PwrConstraint(IN PRTMP_ADAPTER pAd, IN PSTRING arg);
+int Set_PwrConstraint(IN PRTMP_ADAPTER pAd, char *arg);
-VOID MeasureReqTabInit(IN PRTMP_ADAPTER pAd);
+void MeasureReqTabInit(IN PRTMP_ADAPTER pAd);
-VOID MeasureReqTabExit(IN PRTMP_ADAPTER pAd);
+void MeasureReqTabExit(IN PRTMP_ADAPTER pAd);
-PMEASURE_REQ_ENTRY MeasureReqLookUp(IN PRTMP_ADAPTER pAd, IN UINT8 DialogToken);
+PMEASURE_REQ_ENTRY MeasureReqLookUp(IN PRTMP_ADAPTER pAd, u8 DialogToken);
-PMEASURE_REQ_ENTRY MeasureReqInsert(IN PRTMP_ADAPTER pAd, IN UINT8 DialogToken);
+PMEASURE_REQ_ENTRY MeasureReqInsert(IN PRTMP_ADAPTER pAd, u8 DialogToken);
-VOID MeasureReqDelete(IN PRTMP_ADAPTER pAd, IN UINT8 DialogToken);
+void MeasureReqDelete(IN PRTMP_ADAPTER pAd, u8 DialogToken);
-VOID InsertChannelRepIE(IN PRTMP_ADAPTER pAd,
- OUT PUCHAR pFrameBuf,
- OUT PULONG pFrameLen,
- IN PSTRING pCountry, IN UINT8 RegulatoryClass);
+void InsertChannelRepIE(IN PRTMP_ADAPTER pAd,
+ u8 *pFrameBuf,
+ unsigned long *pFrameLen,
+ char *pCountry, u8 RegulatoryClass);
-VOID InsertTpcReportIE(IN PRTMP_ADAPTER pAd,
- OUT PUCHAR pFrameBuf,
- OUT PULONG pFrameLen,
- IN UINT8 TxPwr, IN UINT8 LinkMargin);
+void InsertTpcReportIE(IN PRTMP_ADAPTER pAd,
+ u8 *pFrameBuf,
+ unsigned long *pFrameLen,
+ u8 TxPwr, u8 LinkMargin);
-VOID InsertDialogToken(IN PRTMP_ADAPTER pAd,
- OUT PUCHAR pFrameBuf,
- OUT PULONG pFrameLen, IN UINT8 DialogToken);
+void InsertDialogToken(IN PRTMP_ADAPTER pAd,
+ u8 *pFrameBuf,
+ unsigned long *pFrameLen, u8 DialogToken);
-VOID TpcReqTabInit(IN PRTMP_ADAPTER pAd);
+void TpcReqTabInit(IN PRTMP_ADAPTER pAd);
-VOID TpcReqTabExit(IN PRTMP_ADAPTER pAd);
+void TpcReqTabExit(IN PRTMP_ADAPTER pAd);
-VOID NotifyChSwAnnToPeerAPs(IN PRTMP_ADAPTER pAd,
- IN PUCHAR pRA,
- IN PUCHAR pTA, IN UINT8 ChSwMode, IN UINT8 Channel);
+void NotifyChSwAnnToPeerAPs(IN PRTMP_ADAPTER pAd,
+ u8 *pRA,
+ u8 *pTA, u8 ChSwMode, u8 Channel);
-VOID RguClass_BuildBcnChList(IN PRTMP_ADAPTER pAd,
- OUT PUCHAR pBuf, OUT PULONG pBufLen);
+void RguClass_BuildBcnChList(IN PRTMP_ADAPTER pAd,
+ u8 *pBuf, unsigned long *pBufLen);
#endif /* __SPECTRUM_H__ // */