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
4242 #define DMA_HEAP_IOC_MAGIC 'H'
4343
4444 /**
45− * DOC: DMA_HEAP_IOC_ALLOC - allocate memory from pool
45+ * DOC: DMA_HEAP_IOCTL_ALLOC - allocate memory from pool
4646 *
4747 * Takes a dma_heap_allocation_data struct and returns it with the fd field
4848 * populated with the dmabuf handle of the allocation.
4949 */
50−#define DMA_HEAP_IOC_ALLOC _IOWR(DMA_HEAP_IOC_MAGIC, 0x0,\
50+#define DMA_HEAP_IOCTL_ALLOC _IOWR(DMA_HEAP_IOC_MAGIC, 0x0,\
5151 struct dma_heap_allocation_data)
5252
5353 #endif /* _UAPI_LINUX_DMABUF_POOL_H */