]> git.baikalelectronics.ru Git - uboot.git/commit
video: Use enum with video_index_to_colour()
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2023 16:22:48 +0000 (10:22 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 16:54:51 +0000 (12:54 -0400)
commit4968d4c4930602ffb8d62ff8bd8d36d602b60513
treea5448f1c00eaf1e7538be640bf7f5914050d3fbf
parentf890014c659643701f2f3c0dbcf1339b269681aa
video: Use enum with video_index_to_colour()

Use the provided enum with this function, so it is clearer what should be
passed to it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/video-uclass.c
include/video.h