summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/vgatypes.h
diff options
context:
space:
mode:
authorBill Pemberton2010-06-17 19:10:44 +0200
committerGreg Kroah-Hartman2010-06-22 23:30:53 +0200
commitfc3678a6c0ee4eb59244a5ba2da58ca47fd20501 (patch)
tree0a76243050bbeacf596264bdfdd9469c5497132d /drivers/staging/xgifb/vgatypes.h
parentStaging: xgifb: Remove PUCHAR typedef (diff)
downloadkernel-qcow2-linux-fc3678a6c0ee4eb59244a5ba2da58ca47fd20501.tar.gz
kernel-qcow2-linux-fc3678a6c0ee4eb59244a5ba2da58ca47fd20501.tar.xz
kernel-qcow2-linux-fc3678a6c0ee4eb59244a5ba2da58ca47fd20501.zip
Staging: xgifb: Remove PUSHORT, PLONGU, and PVOID typedefs
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.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/staging/xgifb/vgatypes.h b/drivers/staging/xgifb/vgatypes.h
index ec4c83f7a7c4..0d5472ec9297 100644
--- a/drivers/staging/xgifb/vgatypes.h
+++ b/drivers/staging/xgifb/vgatypes.h
@@ -28,22 +28,10 @@ typedef unsigned short USHORT;
typedef unsigned long ULONG;
#endif
-#ifndef PUSHORT
-typedef USHORT *PUSHORT;
-#endif
-
-#ifndef PLONGU
-typedef ULONG *PULONG;
-#endif
-
#ifndef VOID
typedef void VOID;
#endif
-#ifndef PVOID
-typedef void *PVOID;
-#endif
-
#ifndef BOOLEAN
typedef UCHAR BOOLEAN;
#endif
@@ -126,7 +114,7 @@ struct _XGI_HW_DEVICE_INFO
BOOLEAN UseROM; /* Use the ROM image if provided */
- PVOID pDevice;
+ void *pDevice;
unsigned char *pjVideoMemoryAddress;/* base virtual memory address */
/* of Linear VGA memory */