include/acpi/acpi_pld.h: Fix order of colour components

The colour components are in RGB order in the structure returned by the
ACPI `_PLD` method, so use the same order in the C struct as well. This
has no impact since nobody currently specifies port colours with this.

Change-Id: I11b486faaf73f5da37b973180f23e8b3f19f3f5e
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91389
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2026-02-23 17:18:03 +01:00 committed by Matt DeVillier
commit 49f53bbb38

View file

@ -98,8 +98,8 @@ struct acpi_pld {
/* Color field can be explicitly ignored */
bool ignore_color;
uint8_t color_red;
uint8_t color_blue;
uint8_t color_green;
uint8_t color_blue;
/* Port characteristics */
bool visible; /* Can be seen by the user */