aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/vgatypes.h
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2010-06-17 13:10:42 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-22 17:30:53 -0400
commitdda08c59680d5fce058430ad59678d27fa0448c2 (patch)
treea88c83b788421de0b36b40aab6c7fc1495891902 /drivers/staging/xgifb/vgatypes.h
parent1e59f7119f0a998e3d453614b3d074962b84bc83 (diff)
Staging: xgifb: Remove defines for TRUE, FALSE, and NULL
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.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/drivers/staging/xgifb/vgatypes.h b/drivers/staging/xgifb/vgatypes.h
index 83fea8e37a3..c1c798562dd 100644
--- a/drivers/staging/xgifb/vgatypes.h
+++ b/drivers/staging/xgifb/vgatypes.h
@@ -4,18 +4,6 @@
4 4
5#include <linux/ioctl.h> 5#include <linux/ioctl.h>
6 6
7#ifndef FALSE
8#define FALSE 0
9#endif
10
11#ifndef TRUE
12#define TRUE 1
13#endif
14
15#ifndef NULL
16#define NULL 0
17#endif
18
19#ifndef CHAR 7#ifndef CHAR
20typedef char CHAR; 8typedef char CHAR;
21#endif 9#endif
@@ -186,12 +174,12 @@ struct _XGI_HW_DEVICE_INFO
186 PXGI_DSReg pSR; /* restore SR registers in initial function. */ 174 PXGI_DSReg pSR; /* restore SR registers in initial function. */
187 /* end data :(idx, val) = (FF, FF). */ 175 /* end data :(idx, val) = (FF, FF). */
188 /* Note : restore SR registers if */ 176 /* Note : restore SR registers if */
189 /* bSkipDramSizing = TRUE */ 177 /* bSkipDramSizing = 1 */
190 178
191 PXGI_DSReg pCR; /* restore CR registers in initial function. */ 179 PXGI_DSReg pCR; /* restore CR registers in initial function. */
192 /* end data :(idx, val) = (FF, FF) */ 180 /* end data :(idx, val) = (FF, FF) */
193 /* Note : restore cR registers if */ 181 /* Note : restore cR registers if */
194 /* bSkipDramSizing = TRUE */ 182 /* bSkipDramSizing = 1 */
195/* 183/*
196#endif 184#endif
197*/ 185*/