diff options
author | Charles Clément <caratorn@gmail.com> | 2010-06-24 11:02:27 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-24 14:23:18 -0700 |
commit | 3fc9b584c28095fe0d46cfb8bddafdf93947042e (patch) | |
tree | 584415b49edb969a8c8e34f95379334723934c64 /drivers/staging/vt6655/upc.h | |
parent | 2986db5fd31e312206d3ebfa4786aac04bdbe486 (diff) |
Staging: vt6655: remove BYTE typedef
Replace all occurrences with unsigned char 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/upc.h')
-rw-r--r-- | drivers/staging/vt6655/upc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/upc.h b/drivers/staging/vt6655/upc.h index 633449f20973..9596fdef0e3c 100644 --- a/drivers/staging/vt6655/upc.h +++ b/drivers/staging/vt6655/upc.h @@ -76,7 +76,7 @@ #define VNSvInPortB(dwIOAddress, pbyData) { \ - volatile BYTE* pbyAddr = ((unsigned char *)(dwIOAddress)); \ + volatile unsigned char * pbyAddr = ((unsigned char *)(dwIOAddress)); \ *(pbyData) = readb(pbyAddr); \ } @@ -93,8 +93,8 @@ #define VNSvOutPortB(dwIOAddress, byData) { \ - volatile BYTE* pbyAddr = ((unsigned char *)(dwIOAddress)); \ - writeb((BYTE)byData, pbyAddr); \ + volatile unsigned char * pbyAddr = ((unsigned char *)(dwIOAddress)); \ + writeb((unsigned char)byData, pbyAddr); \ } @@ -140,7 +140,7 @@ #define PCAvDelayByIO(uDelayUnit) { \ - BYTE byData; \ + unsigned char byData; \ unsigned long ii; \ \ if (uDelayUnit <= 50) { \ |