summaryrefslogtreecommitdiff
path: root/include/uapi/linux/dma-heap.h
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2019-12-16 16:34:04 +0300
committerSumit Semwal <sumit.semwal@linaro.org>2019-12-17 19:07:40 +0300
commitb3b4346544b571c96d46be615b9db69a601ce4c8 (patch)
treebed3b3127628dc1b6f919cbb00268f5ba8eb431e /include/uapi/linux/dma-heap.h
parentfb6c7ab8718eb2543695d77ad8302ff81e8e1e32 (diff)
downloadlinux-b3b4346544b571c96d46be615b9db69a601ce4c8.tar.xz
dma-buf: heaps: Use _IOCTL_ for userspace IOCTL identifier
This is more consistent with the DMA and DRM frameworks convention. This patch is only a name change, no logic is changed. Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20191216133405.1001-2-afd@ti.com
Diffstat (limited to 'include/uapi/linux/dma-heap.h')
-rw-r--r--include/uapi/linux/dma-heap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/dma-heap.h b/include/uapi/linux/dma-heap.h
index 73e7f66c1cae..6f84fa08e074 100644
--- a/include/uapi/linux/dma-heap.h
+++ b/include/uapi/linux/dma-heap.h
@@ -42,12 +42,12 @@ struct dma_heap_allocation_data {
#define DMA_HEAP_IOC_MAGIC 'H'
/**
- * DOC: DMA_HEAP_IOC_ALLOC - allocate memory from pool
+ * DOC: DMA_HEAP_IOCTL_ALLOC - allocate memory from pool
*
* Takes a dma_heap_allocation_data struct and returns it with the fd field
* populated with the dmabuf handle of the allocation.
*/
-#define DMA_HEAP_IOC_ALLOC _IOWR(DMA_HEAP_IOC_MAGIC, 0x0,\
+#define DMA_HEAP_IOCTL_ALLOC _IOWR(DMA_HEAP_IOC_MAGIC, 0x0,\
struct dma_heap_allocation_data)
#endif /* _UAPI_LINUX_DMABUF_POOL_H */