]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ENGR00292121 PXP: remove __u32 definition in pxp_dma.h
authorFancy Fang <B47543@freescale.com>
Mon, 16 Dec 2013 02:55:04 +0000 (10:55 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:49 +0000 (10:06 +0200)
Remove the __u32 macro definition in pxp_dma.h. But include
<linux/types.h> in pxp_dma.h to make sure user application
which include pxp_dma.h to be compiled with no error.

Signed-off-by: Fancy Fang <B47543@freescale.com>
include/uapi/linux/pxp_dma.h

index 62096aacd1b297641504ed11870cef7c0ac92305..efe6f637ea90274960d8a976f753b4c1a743ac27 100644 (file)
 #define _UAPI_PXP_DMA
 
 #include <linux/posix_types.h>
+#include <linux/types.h>
 
 #ifndef __KERNEL__
 typedef unsigned long dma_addr_t;
 typedef unsigned char bool;
 #endif
-#define __u32 unsigned int
 
 /*  PXP Pixel format definitions */
 /*  Four-character-code (FOURCC) */