aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek2020-12-14 09:14:03 +0100
committerMichal Simek2021-01-05 11:54:53 +0100
commit17da310ac41424f056af3a88a0ff081925a027ff (patch)
tree4aadbbc2e2a9d0998390a1a192112edeed3c553d
parentb6d14c52f91b57367e7bd8499c963b74fb74b41e (diff)
video: Fix video sync kernel-doc format
Place description below function parameters to make kernel-doc stript happy. Also rename dev to vid to be aligned with function parameters. Fixes: 1acafc73bfc7 ("dm: video: Add a video uclass") Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/video.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/video.h b/include/video.h
index 9d09d2409af..7313b17f7ce 100644
--- a/include/video.h
+++ b/include/video.h
@@ -151,13 +151,13 @@ int video_clear(struct udevice *dev);
/**
* video_sync() - Sync a device's frame buffer with its hardware
*
+ * @vid: Device to sync
+ * @force: True to force a sync even if there was one recently (this is
+ * very expensive on sandbox)
+ *
* Some frame buffers are cached or have a secondary frame buffer. This
* function syncs these up so that the current contents of the U-Boot frame
* buffer are displayed to the user.
- *
- * @dev: Device to sync
- * @force: True to force a sync even if there was one recently (this is
- * very expensive on sandbox)
*/
void video_sync(struct udevice *vid, bool force);