diff options
Diffstat (limited to 'include/linux/nvmap.h')
| -rw-r--r-- | include/linux/nvmap.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index 079c74128..78f2eabe1 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h | |||
| @@ -56,8 +56,6 @@ | |||
| 56 | 56 | ||
| 57 | #if defined(__KERNEL__) | 57 | #if defined(__KERNEL__) |
| 58 | 58 | ||
| 59 | struct nvmap_handle; | ||
| 60 | |||
| 61 | struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align, | 59 | struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align, |
| 62 | unsigned int flags, | 60 | unsigned int flags, |
| 63 | unsigned int heap_mask); | 61 | unsigned int heap_mask); |
| @@ -226,11 +224,7 @@ struct nvmap_cache_op_32 { | |||
| 226 | #endif | 224 | #endif |
| 227 | 225 | ||
| 228 | struct nvmap_cache_op_list { | 226 | struct nvmap_cache_op_list { |
| 229 | #ifdef CONFIG_COMPAT | ||
| 230 | __u32 handles; /* Uspace ptr to list of handles */ | 227 | __u32 handles; /* Uspace ptr to list of handles */ |
| 231 | #else | ||
| 232 | struct nvmap_handle **handles; | ||
| 233 | #endif | ||
| 234 | __u32 nr; /* Number of handles */ | 228 | __u32 nr; /* Number of handles */ |
| 235 | }; | 229 | }; |
| 236 | 230 | ||
