diff options
author | Charles Clément <caratorn@gmail.com> | 2010-06-24 11:02:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-24 14:23:17 -0700 |
commit | 2986db5fd31e312206d3ebfa4786aac04bdbe486 (patch) | |
tree | 910e5522ededbdce9e97601fccb79ae94ec51404 /drivers/staging/vt6655/baseband.c | |
parent | 0f4c60d61e9c10a0733eacd650c101189bdf75cd (diff) | |
download | linux-2986db5fd31e312206d3ebfa4786aac04bdbe486.tar.gz linux-2986db5fd31e312206d3ebfa4786aac04bdbe486.tar.bz2 linux-2986db5fd31e312206d3ebfa4786aac04bdbe486.zip |
Staging: vt6655: remove WORD typedef
Replace all occurrences with unsigned short type.
Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/baseband.c')
-rw-r--r-- | drivers/staging/vt6655/baseband.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/baseband.c index ab7d3d89e034..a0dc3f3630d4 100644 --- a/drivers/staging/vt6655/baseband.c +++ b/drivers/staging/vt6655/baseband.c @@ -1712,7 +1712,7 @@ BYTE byVT3253B0_AGC[CB_VT3253B0_AGC][2] = { {0xF0, 0x00}, }; -const WORD awcFrameTime[MAX_RATE] = +const unsigned short awcFrameTime[MAX_RATE] = {10, 20, 55, 110, 24, 36, 48, 72, 96, 144, 192, 216}; @@ -1781,7 +1781,7 @@ BBuGetFrameTime ( BYTE byPreambleType, BYTE byPktType, unsigned int cbFrameLength, - WORD wRate + unsigned short wRate ) { unsigned int uFrameTime; @@ -1847,7 +1847,7 @@ void BBvCaculateParameter ( PSDevice pDevice, unsigned int cbFrameLength, - WORD wRate, + unsigned short wRate, BYTE byPacketType, unsigned short *pwPhyLen, unsigned char *pbyPhySrv, @@ -1994,11 +1994,11 @@ BBvCaculateParameter ( *pbyPhySrv = 0x00; if (bExtBit) *pbyPhySrv = *pbyPhySrv | 0x80; - *pwPhyLen = (WORD)cbUsCount; + *pwPhyLen = (unsigned short)cbUsCount; } else { *pbyPhySrv = 0x00; - *pwPhyLen = (WORD)cbFrameLength; + *pwPhyLen = (unsigned short)cbFrameLength; } } @@ -2017,7 +2017,7 @@ BBvCaculateParameter ( */ BOOL BBbReadEmbeded (unsigned long dwIoBase, BYTE byBBAddr, unsigned char *pbyData) { - WORD ww; + unsigned short ww; BYTE byValue; // BB reg offset @@ -2060,7 +2060,7 @@ BOOL BBbReadEmbeded (unsigned long dwIoBase, BYTE byBBAddr, unsigned char *pbyDa */ BOOL BBbWriteEmbeded (unsigned long dwIoBase, BYTE byBBAddr, BYTE byData) { - WORD ww; + unsigned short ww; BYTE byValue; // BB reg offset |