diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-06-17 13:10:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-22 14:30:53 -0700 |
commit | 274afb73bd14558d8363898c51d4ee708bba73b7 (patch) | |
tree | b57c5e2cac3be594d0d332c9bd90c68093995c79 /drivers/staging/xgifb/vgatypes.h | |
parent | dda08c59680d5fce058430ad59678d27fa0448c2 (diff) | |
download | op-kernel-dev-274afb73bd14558d8363898c51d4ee708bba73b7.zip op-kernel-dev-274afb73bd14558d8363898c51d4ee708bba73b7.tar.gz |
Staging: xgifb: Remove PUCHAR typedef
PUCHAR was unsigned char *, use that instead
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/vgatypes.h')
-rw-r--r-- | drivers/staging/xgifb/vgatypes.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/drivers/staging/xgifb/vgatypes.h b/drivers/staging/xgifb/vgatypes.h index c1c7985..ec4c83f 100644 --- a/drivers/staging/xgifb/vgatypes.h +++ b/drivers/staging/xgifb/vgatypes.h @@ -28,10 +28,6 @@ typedef unsigned short USHORT; typedef unsigned long ULONG; #endif -#ifndef PUCHAR -typedef UCHAR *PUCHAR; -#endif - #ifndef PUSHORT typedef USHORT *PUSHORT; #endif @@ -126,25 +122,25 @@ struct _XGI_HW_DEVICE_INFO ULONG ulExternalChip; /* NO VB or other video bridge*/ /* if ujVBChipID = VB_CHIP_UNKNOWN, */ - PUCHAR pjVirtualRomBase; /* ROM image */ + unsigned char *pjVirtualRomBase; /* ROM image */ BOOLEAN UseROM; /* Use the ROM image if provided */ PVOID pDevice; - PUCHAR pjVideoMemoryAddress;/* base virtual memory address */ + unsigned char *pjVideoMemoryAddress;/* base virtual memory address */ /* of Linear VGA memory */ ULONG ulVideoMemorySize; /* size, in bytes, of the memory on the board */ - PUCHAR pjIOAddress; /* base I/O address of VGA ports (0x3B0) */ + unsigned char *pjIOAddress; /* base I/O address of VGA ports (0x3B0) */ - PUCHAR pjCustomizedROMImage; + unsigned char *pjCustomizedROMImage; - PUCHAR pj2ndVideoMemoryAddress; + unsigned char *pj2ndVideoMemoryAddress; ULONG ul2ndVideoMemorySize; - PUCHAR pj2ndIOAddress; + unsigned char *pj2ndIOAddress; UCHAR jChipType; /* Used to Identify Graphics Chip */ /* defined in the data structure type */ /* "XGI_CHIP_TYPE" */ |