]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: Correct docs for video_index_to_colour()
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2023 16:22:44 +0000 (10:22 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 16:54:51 +0000 (12:54 -0400)
This uses the private data of the video uclass, not the console uclass
(its child). Update the comment to avoid confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: a032e4b55ea ("video: Move console colours to the video uclass")
include/video.h

index 6dc42d464b0b628ae89db39bea434287d7c5df4b..55e9f32f5935b76053e8e36aeeb9a76c9283db96 100644 (file)
@@ -163,7 +163,7 @@ enum colour_idx {
  * The caller has to guarantee that the color index is less than
  * VID_COLOR_COUNT.
  *
- * @priv       private data of the console device
+ * @priv       private data of the video device (UCLASS_VIDEO)
  * @idx                color index
  * Return:     color value
  */