From: Roel Van Nyen <roel.vannyen@xxxxxxxxx> Remove PUINT from ttype.h Signed-off-by: Roel Van Nyen <roel.vannyen@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx> --- drivers/staging/vt6656/bssdb.c | 4 ++-- drivers/staging/vt6656/bssdb.h | 4 ++-- drivers/staging/vt6656/dpc.c | 8 ++++---- drivers/staging/vt6656/ttype.h | 1 - 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/staging/vt6656/bssdb.c b/drivers/staging/vt6656/bssdb.c index 4d51b8b..a9f68bd 100644 --- a/drivers/staging/vt6656/bssdb.c +++ b/drivers/staging/vt6656/bssdb.c @@ -733,7 +733,7 @@ BOOL BSSbUpdateToBSSList(void *hDeviceContext, BOOL BSSbIsSTAInNodeDB(void *hDeviceContext, PBYTE abyDstAddr, - PUINT puNodeIndex) + unsigned int *puNodeIndex) { PSDevice pDevice = (PSDevice)hDeviceContext; PSMgmtObject pMgmt = &(pDevice->sMgmtObj); @@ -765,7 +765,7 @@ BOOL BSSbIsSTAInNodeDB(void *hDeviceContext, * None * -*/ -void BSSvCreateOneNode(void *hDeviceContext, PUINT puNodeIndex) +void BSSvCreateOneNode(void *hDeviceContext, unsigned int *puNodeIndex) { PSDevice pDevice = (PSDevice)hDeviceContext; diff --git a/drivers/staging/vt6656/bssdb.h b/drivers/staging/vt6656/bssdb.h index c3aaefe..a8f97eb 100644 --- a/drivers/staging/vt6656/bssdb.h +++ b/drivers/staging/vt6656/bssdb.h @@ -278,9 +278,9 @@ BOOL BSSbUpdateToBSSList(void *hDeviceContext, BOOL BSSbIsSTAInNodeDB(void *hDeviceContext, PBYTE abyDstAddr, - PUINT puNodeIndex); + unsigned int *puNodeIndex); -void BSSvCreateOneNode(void *hDeviceContext, PUINT puNodeIndex); +void BSSvCreateOneNode(void *hDeviceContext, unsigned int *puNodeIndex); void BSSvUpdateAPNode(void *hDeviceContext, PWORD pwCapInfo, diff --git a/drivers/staging/vt6656/dpc.c b/drivers/staging/vt6656/dpc.c index bc663e8..33f905c 100644 --- a/drivers/staging/vt6656/dpc.c +++ b/drivers/staging/vt6656/dpc.c @@ -80,7 +80,7 @@ static void s_vGetDASA( PBYTE pbyRxBufferAddr, - PUINT pcbHeaderSize, + unsigned int *pcbHeaderSize, PSEthernetHeader psEthHeader ); @@ -92,7 +92,7 @@ s_vProcessRxMACHeader ( unsigned int cbPacketSize, BOOL bIsWEP, BOOL bExtIV, - PUINT pcbHeadSize + unsigned int *pcbHeadSize ); static BOOL s_bAPModeRxCtl( @@ -167,7 +167,7 @@ s_vProcessRxMACHeader ( unsigned int cbPacketSize, BOOL bIsWEP, BOOL bExtIV, - PUINT pcbHeadSize + unsigned int *pcbHeadSize ) { PBYTE pbyRxBuffer; @@ -261,7 +261,7 @@ static void s_vGetDASA ( PBYTE pbyRxBufferAddr, - PUINT pcbHeaderSize, + unsigned int *pcbHeaderSize, PSEthernetHeader psEthHeader ) { diff --git a/drivers/staging/vt6656/ttype.h b/drivers/staging/vt6656/ttype.h index 9581c14..8e9450e 100644 --- a/drivers/staging/vt6656/ttype.h +++ b/drivers/staging/vt6656/ttype.h @@ -64,7 +64,6 @@ typedef unsigned long ULONG_PTR; // 32-bit typedef unsigned long DWORD_PTR; // 32-bit // boolean pointer -typedef unsigned int * PUINT; typedef BYTE * PBYTE; -- 1.7.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel