summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/sw_sync.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2018-01-15 04:47:59 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2018-01-30 18:05:25 +0100
commite56a0fbd5251b43cc11bf2be30b8f45d7a847903 (patch)
treee8cac1ac8b285fb79901438c1cdeedec0127e1b8 /drivers/dma-buf/sw_sync.c
parentdrm/atomic: Remove WARN_ON for invalid plane configuration. (diff)
downloadlinux-e56a0fbd5251b43cc11bf2be30b8f45d7a847903.tar.xz
linux-e56a0fbd5251b43cc11bf2be30b8f45d7a847903.zip
dma-buf/sw_sync: fix document of sw_sync_create_fence_data
The structure should really be sw_sync_create_fence_data rather than sw_sync_ioctl_create_fence which is the function name. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/1515988079-8677-1-git-send-email-shawn.guo@linaro.org
Diffstat (limited to 'drivers/dma-buf/sw_sync.c')
-rw-r--r--drivers/dma-buf/sw_sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma-buf/sw_sync.c b/drivers/dma-buf/sw_sync.c
index 24f83f9eeaed..7779bdbd18d1 100644
--- a/drivers/dma-buf/sw_sync.c
+++ b/drivers/dma-buf/sw_sync.c
@@ -43,14 +43,14 @@
* timelines.
*
* Fences can be created with SW_SYNC_IOC_CREATE_FENCE ioctl with struct
- * sw_sync_ioctl_create_fence as parameter.
+ * sw_sync_create_fence_data as parameter.
*
* To increment the timeline counter, SW_SYNC_IOC_INC ioctl should be used
* with the increment as u32. This will update the last signaled value
* from the timeline and signal any fence that has a seqno smaller or equal
* to it.
*
- * struct sw_sync_ioctl_create_fence
+ * struct sw_sync_create_fence_data
* @value: the seqno to initialise the fence with
* @name: the name of the new sync point
* @fence: return the fd of the new sync_file with the created fence