summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-06-01 19:22:44 +0300
committerTom Rini <trini@konsulko.com>2023-07-14 19:54:51 +0300
commit7ea207db2afc1ef70d8dc88fd2914b3ffcfbb1c7 (patch)
tree2f9488927b901a5345e2332a96c2a2158c300811
parentc98cb512521e5e035774c49ab9a855cbb6b13813 (diff)
downloadu-boot-7ea207db2afc1ef70d8dc88fd2914b3ffcfbb1c7.tar.xz
video: Correct docs for video_index_to_colour()
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")
-rw-r--r--include/video.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/video.h b/include/video.h
index 6dc42d464b..55e9f32f59 100644
--- a/include/video.h
+++ b/include/video.h
@@ -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
*/