From: Simon Glass Date: Thu, 1 Jun 2023 16:22:44 +0000 (-0600) Subject: video: Correct docs for video_index_to_colour() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7ea207db2afc1ef70d8dc88fd2914b3ffcfbb1c7;p=u-boot.git 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 Fixes: a032e4b55ea ("video: Move console colours to the video uclass") --- 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 */