mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 21:24:21 +08:00
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: a032e4b55e
("video: Move console colours to the video uclass")
This commit is contained in:
parent
c98cb51252
commit
7ea207db2a
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user