diff options
author | Andrew F. Davis <afd@ti.com> | 2019-12-16 08:34:04 -0500 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2019-12-17 21:37:40 +0530 |
commit | b3b4346544b571c96d46be615b9db69a601ce4c8 (patch) | |
tree | bed3b3127628dc1b6f919cbb00268f5ba8eb431e /drivers/dma-buf/dma-heap.c | |
parent | fb6c7ab8718eb2543695d77ad8302ff81e8e1e32 (diff) | |
download | linux-b3b4346544b571c96d46be615b9db69a601ce4c8.tar.gz linux-b3b4346544b571c96d46be615b9db69a601ce4c8.tar.bz2 linux-b3b4346544b571c96d46be615b9db69a601ce4c8.zip |
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 'drivers/dma-buf/dma-heap.c')
-rw-r--r-- | drivers/dma-buf/dma-heap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma-buf/dma-heap.c b/drivers/dma-buf/dma-heap.c index 4f04d104ae61..a24721496114 100644 --- a/drivers/dma-buf/dma-heap.c +++ b/drivers/dma-buf/dma-heap.c @@ -107,7 +107,7 @@ static long dma_heap_ioctl_allocate(struct file *file, void *data) } unsigned int dma_heap_ioctl_cmds[] = { - DMA_HEAP_IOC_ALLOC, + DMA_HEAP_IOCTL_ALLOC, }; static long dma_heap_ioctl(struct file *file, unsigned int ucmd, @@ -153,7 +153,7 @@ static long dma_heap_ioctl(struct file *file, unsigned int ucmd, memset(kdata + in_size, 0, ksize - in_size); switch (kcmd) { - case DMA_HEAP_IOC_ALLOC: + case DMA_HEAP_IOCTL_ALLOC: ret = dma_heap_ioctl_allocate(file, kdata); break; default: |