Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268386
b: refs/heads/master
c: d15cce5
h: refs/heads/master
v: v3
  • Loading branch information
Arvydas Sidorenko authored and Greg Kroah-Hartman committed Sep 16, 2011
1 parent b4ed61d commit 70a52e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 58 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 18e9351e453fbcf445cb8ffdd2e106e0212166da
refs/heads/master: d15cce50161bbb46236f9c50ab044c795cbbecc0
57 changes: 0 additions & 57 deletions trunk/drivers/staging/crystalhd/bc_dts_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,32 +25,7 @@
#ifndef _BC_DTS_TYPES_H_
#define _BC_DTS_TYPES_H_

#ifdef __LINUX_USER__ /* Don't include these for KERNEL.. */
#include <stdint.h>
#endif

#ifndef PVOID
typedef void *PVOID;
#endif

#ifndef BOOL
typedef int BOOL;
#endif

#if defined(__KERNEL__) || defined(__LINUX_USER__)

#ifdef __LINUX_USER__ /* Don't include these for KERNEL */
typedef uint32_t ULONG;
typedef int32_t LONG;
typedef void *HANDLE;
#ifndef VOID
typedef void VOID;
#endif
typedef void *LPVOID;
typedef uint32_t DWORD;
typedef uint32_t UINT32;
typedef uint32_t *LPDWORD;
typedef unsigned char *PUCHAR;

#ifndef TRUE
#define TRUE 1
Expand All @@ -62,36 +37,4 @@ typedef unsigned char *PUCHAR;

#define TEXT

#else

/* For Kernel usage.. */
#endif

#else

#ifndef uint64_t
typedef struct _uint64_t {
uint32_t low_dw;
uint32_t hi_dw;
} uint64_t;
#endif

#ifndef int32_t
typedef signed long int32_t;
#endif

#ifndef uint32_t
typedef unsigned long uint32_t;
#endif

#ifndef uint16_t
typedef unsigned short uint16_t;
#endif

#ifndef uint8_t
typedef unsigned char uint8_t;
#endif
#endif

#endif

0 comments on commit 70a52e3

Please sign in to comment.