Use the normal types. Delete now unused typedef. Signed-off-by: Joe Perches <joe@xxxxxxxxxxx> --- drivers/staging/bcm/HostMIBSInterface.h | 2 +- drivers/staging/bcm/PHSDefines.h | 2 +- drivers/staging/bcm/PHSModule.c | 2 +- drivers/staging/bcm/Typedefs.h | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/bcm/HostMIBSInterface.h b/drivers/staging/bcm/HostMIBSInterface.h index 9810c28..2d326df 100644 --- a/drivers/staging/bcm/HostMIBSInterface.h +++ b/drivers/staging/bcm/HostMIBSInterface.h @@ -125,7 +125,7 @@ typedef struct _S_MIBS_PHS_RULE { // Reserved bytes are 5, so that it is similar to S_PHS_RULE structure. B_UINT8 reserved[5]; - LONG PHSModifiedBytes; + long PHSModifiedBytes; ULONG PHSModifiedNumPackets; ULONG PHSErrorNumPackets; }S_MIBS_PHS_RULE; diff --git a/drivers/staging/bcm/PHSDefines.h b/drivers/staging/bcm/PHSDefines.h index 93a6eee..365e933 100644 --- a/drivers/staging/bcm/PHSDefines.h +++ b/drivers/staging/bcm/PHSDefines.h @@ -64,7 +64,7 @@ typedef struct _S_PHS_RULE { B_UINT8 u8Reserved[3]; - LONG PHSModifiedBytes; + long PHSModifiedBytes; ULONG PHSModifiedNumPackets; ULONG PHSErrorNumPackets; }S_PHS_RULE; diff --git a/drivers/staging/bcm/PHSModule.c b/drivers/staging/bcm/PHSModule.c index ba06a72..48864ab 100644 --- a/drivers/staging/bcm/PHSModule.c +++ b/drivers/staging/bcm/PHSModule.c @@ -91,7 +91,7 @@ int PHSTransmit(PMINI_ADAPTER Adapter, unsigned int usPacketType; unsigned int BytesToRemove = 0; BOOLEAN bPHSI = 0; - LONG ulPhsStatus = 0; + long ulPhsStatus = 0; unsigned int numBytesCompressed = 0; struct sk_buff *newPacket = NULL; struct sk_buff *Packet = *pPacket; diff --git a/drivers/staging/bcm/Typedefs.h b/drivers/staging/bcm/Typedefs.h index 2ad0d06..55d335a 100644 --- a/drivers/staging/bcm/Typedefs.h +++ b/drivers/staging/bcm/Typedefs.h @@ -10,7 +10,6 @@ #define TRUE 1 typedef char BOOLEAN; -typedef long LONG; typedef unsigned char B_UINT8; typedef unsigned short B_UINT16; -- 1.7.8.111.gad25c.dirty _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel