diff options
| author | Fancy Fang <B47543@freescale.com> | 2013-12-23 21:36:17 -0500 |
|---|---|---|
| committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:47:31 -0400 |
| commit | 929b54dc272afe1f5dbd620220c4afa7b32fd77b (patch) | |
| tree | 1c531f11ee64d9b66413628bb40f507f89922b48 /include/uapi/linux | |
| parent | f3c881f4598ff1351ceb30cfdeece9ce50c8c875 (diff) | |
ENGR00293170 PXP: remove cpu_addr field from struct pxp_mem_desc
The cpu_addr field in struct pxp_mem_desc cannot be used
by user application, so it is not necessary to pass this
field data to user. Now the similar field 'virtual' in
struct pxp_buf_obj is used to store the kernel space
virtual addr for allocated dma buffer.
Signed-off-by: Fancy Fang <B47543@freescale.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/pxp_device.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/uapi/linux/pxp_device.h b/include/uapi/linux/pxp_device.h index 80ac1880f139..245b19e57156 100644 --- a/include/uapi/linux/pxp_device.h +++ b/include/uapi/linux/pxp_device.h | |||
| @@ -30,7 +30,6 @@ struct pxp_mem_desc { | |||
| 30 | unsigned int handle; | 30 | unsigned int handle; |
| 31 | unsigned int size; | 31 | unsigned int size; |
| 32 | dma_addr_t phys_addr; | 32 | dma_addr_t phys_addr; |
| 33 | void *cpu_addr; /* cpu address to free the dma mem */ | ||
| 34 | unsigned int virt_uaddr; /* virtual user space address */ | 33 | unsigned int virt_uaddr; /* virtual user space address */ |
| 35 | }; | 34 | }; |
| 36 | 35 | ||
