fix rga support DMA buf error
[firefly-linux-kernel-4.4.55.git] / drivers / video / rockchip / rga / rga_type.h
1 #ifndef __RGA_TYPE_H__\r
2 #define __RGA_TYPE_H__\r
3 \r
4 \r
5 #ifdef __cplusplus\r
6 #if __cplusplus\r
7 }\r
8 #endif\r
9 #endif /* __cplusplus */\r
10 \r
11 typedef  unsigned int     UWORD32;\r
12 typedef  unsigned int     uint32;\r
13 typedef  unsigned int     RK_U32;\r
14 \r
15 typedef  unsigned short   UWORD16;\r
16 typedef  unsigned short   RK_U16;\r
17 \r
18 typedef  unsigned char    UBYTE;\r
19 typedef  unsigned char    RK_U8;\r
20 \r
21 typedef  int              WORD32;\r
22 typedef  int              RK_S32;\r
23 \r
24 typedef  short            WORD16;\r
25 typedef  short            RK_S16;\r
26 \r
27 typedef  char             BYTE;\r
28 typedef  char             RK_S8;\r
29 \r
30 \r
31 #ifndef NULL\r
32 #define NULL              0L\r
33 #endif\r
34 \r
35 #ifndef TRUE\r
36 #define TRUE              1L\r
37 #endif\r
38 \r
39 \r
40 #ifdef __cplusplus\r
41 #if __cplusplus\r
42 }\r
43 #endif\r
44 #endif /* __cplusplus */\r
45 \r
46 \r
47 #endif /* __RGA_TYPR_H__ */\r
48 \r