summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/dmabuf-heaps
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2019-12-16 08:34:04 -0500
committerSumit Semwal <sumit.semwal@linaro.org>2019-12-17 21:37:40 +0530
commitb3b4346544b571c96d46be615b9db69a601ce4c8 (patch)
treebed3b3127628dc1b6f919cbb00268f5ba8eb431e /tools/testing/selftests/dmabuf-heaps
parentfb6c7ab8718eb2543695d77ad8302ff81e8e1e32 (diff)
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 'tools/testing/selftests/dmabuf-heaps')
-rw-r--r--tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c b/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
index 3e53ad331bdc..cd5e1f602ac9 100644
--- a/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
+++ b/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
@@ -116,7 +116,7 @@ static int dmabuf_heap_alloc_fdflags(int fd, size_t len, unsigned int fd_flags,
if (!dmabuf_fd)
return -EINVAL;
- ret = ioctl(fd, DMA_HEAP_IOC_ALLOC, &data);
+ ret = ioctl(fd, DMA_HEAP_IOCTL_ALLOC, &data);
if (ret < 0)
return ret;
*dmabuf_fd = (int)data.fd;