Skip to content

Commit

Permalink
Staging: xgifb: Remove use of WINCE_HEADER define
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Jun 22, 2010
1 parent bf4fc6a commit af49a7c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
17 changes: 0 additions & 17 deletions drivers/staging/xgifb/osdef.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef _OSDEF_H_
#define _OSDEF_H_

/* #define WINCE_HEADER*/
/* #define TC */
#define LINUX_KERNEL
/* #define LINUX_XF86 */
Expand All @@ -15,8 +14,6 @@
/**********************************************************************/
#ifdef TC
#endif
#ifdef WINCE_HEADER
#endif
#ifdef LINUX_XF86
#define LINUX
#endif
Expand All @@ -28,9 +25,6 @@
#ifdef TC
#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize);
#endif
#ifdef WINCE_HEADER
#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize);
#endif
#ifdef LINUX_XF86
#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize)
#endif
Expand All @@ -44,9 +38,6 @@
#ifdef TC
#define XGI_MemoryCopy(Destination,Soruce,Length) memmove(Destination, Soruce, Length);
#endif
#ifdef WINCE_HEADER
#define XGI_MemoryCopy(Destination,Soruce,Length) memmove(Destination, Soruce, Length);
#endif
#ifdef LINUX_XF86
#define XGI_MemoryCopy(Destination,Soruce,Length) memcpy(Destination,Soruce,Length)
#endif
Expand Down Expand Up @@ -125,12 +116,4 @@
/* WIN CE */
/**********************************************************************/

#ifdef WINCE_HEADER
#define OutPortByte(p,v) WRITE_PORT_UCHAR ((PUCHAR) (p), (UCHAR) (v))
#define OutPortWord(p,v) WRITE_PORT_USHORT((PUSHORT) (p), (USHORT) (v))
#define OutPortLong(p,v) WRITE_PORT_ULONG ((PULONG) (p), (ULONG) (v))
#define InPortByte(p) READ_PORT_UCHAR ((PUCHAR) (p))
#define InPortWord(p) READ_PORT_USHORT ((PUSHORT) (p))
#define InPortLong(p) READ_PORT_ULONG ((PULONG) (p))
#endif
#endif // _OSDEF_H_
2 changes: 0 additions & 2 deletions drivers/staging/xgifb/vb_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,6 @@ void NewDelaySeconds( int seconds )
#endif


#ifdef WINCE_HEADER
#endif

#ifdef LINUX_KERNEL
#endif
Expand Down

0 comments on commit af49a7c

Please sign in to comment.