From 108afbf8aef6520f2f34b3add94b059b60c44139 Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Thu, 17 Jun 2010 13:10:47 -0400 Subject: Staging: xgifb: Remove SHORT, UCHAR, and LONG typedef Signed-off-by: Bill Pemberton Cc: Arnaud Patard Signed-off-by: Greg Kroah-Hartman --- drivers/staging/xgifb/vgatypes.h | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) (limited to 'drivers/staging/xgifb/vgatypes.h') diff --git a/drivers/staging/xgifb/vgatypes.h b/drivers/staging/xgifb/vgatypes.h index a85f21a7aeb..a518d27c0d1 100644 --- a/drivers/staging/xgifb/vgatypes.h +++ b/drivers/staging/xgifb/vgatypes.h @@ -4,25 +4,6 @@ #include -#ifndef CHAR -typedef char CHAR; -#endif - -#ifndef SHORT -typedef short SHORT; -#endif - -#ifndef LONG -typedef long LONG; -#endif - -#ifndef UCHAR -typedef unsigned char UCHAR; -#endif - -typedef unsigned long XGIIOADDRESS; - - #ifndef VBIOS_VER_MAX_LENGTH #define VBIOS_VER_MAX_LENGTH 4 #endif @@ -74,8 +55,8 @@ typedef enum _XGI_LCD_TYPE { #ifndef PXGI_DSReg typedef struct _XGI_DSReg { - UCHAR jIdx; - UCHAR jVal; + unsigned char jIdx; + unsigned char jVal; } XGI_DSReg, *PXGI_DSReg; #endif @@ -109,13 +90,13 @@ struct _XGI_HW_DEVICE_INFO unsigned long ul2ndVideoMemorySize; unsigned char *pj2ndIOAddress; - UCHAR jChipType; /* Used to Identify Graphics Chip */ + unsigned char jChipType; /* Used to Identify Graphics Chip */ /* defined in the data structure type */ /* "XGI_CHIP_TYPE" */ - UCHAR jChipRevision; /* Used to Identify Graphics Chip Revision */ + unsigned char jChipRevision; /* Used to Identify Graphics Chip Revision */ - UCHAR ujVBChipID; /* the ID of video bridge */ + unsigned char ujVBChipID; /* the ID of video bridge */ /* defined in the data structure type */ /* "XGI_VB_CHIP_TYPE" */ @@ -152,7 +133,7 @@ struct _XGI_HW_DEVICE_INFO PXGI_QUERYSPACE pQueryNorthBridgeSpace; - UCHAR szVBIOSVer[VBIOS_VER_MAX_LENGTH]; + unsigned char szVBIOSVer[VBIOS_VER_MAX_LENGTH]; }; #endif -- cgit v1.2.3