History

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.

Andrew F. Davis committed 6 years ago

Commit b3b43461 parent fb6c7ab3 files · +5 −5Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/dma-heap.h+2−2
@@ -42,12 +42,12 @@ struct dma_heap_allocation_data { · 41 unmodified lines
42#define DMA_HEAP_IOC_MAGIC 'H'42#define DMA_HEAP_IOC_MAGIC 'H'
43 43
44/**44/**
45 * DOC: DMA_HEAP_IOC_ALLOC - allocate memory from pool45 * DOC: DMA_HEAP_IOCTL_ALLOC - allocate memory from pool
46 *46 *
47 * Takes a dma_heap_allocation_data struct and returns it with the fd field47 * Takes a dma_heap_allocation_data struct and returns it with the fd field
48 * populated with the dmabuf handle of the allocation.48 * populated with the dmabuf handle of the allocation.
49 */49 */
50#define DMA_HEAP_IOC_ALLOC _IOWR(DMA_HEAP_IOC_MAGIC, 0x0,\50#define DMA_HEAP_IOCTL_ALLOC _IOWR(DMA_HEAP_IOC_MAGIC, 0x0,\
51 struct dma_heap_allocation_data)51 struct dma_heap_allocation_data)
52 52
53#endif /* _UAPI_LINUX_DMABUF_POOL_H */53#endif /* _UAPI_LINUX_DMABUF_POOL_H */