coreboot-kgpe-d16/payloads/libpayload/drivers
Jacob Garber 85d93ffc0a libpayload: Make OHCI enums into types
The OHCI header file declares various enums as follows:

    enum { ... } enum_name;

Since the name is at the end, this is actually declaring a variable
called enum_name and *not* a type, which is causing a multiple
definition error in GCC 10. Move the enum_name before the opening brace
to prevent this.

Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Change-Id: I452c0a1b118990942aa53f1e7e77f5e8378e8975
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47224
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2020-11-08 11:37:09 +00:00
..
i8042 libpayload/keyboard: Use bool as return type 2020-10-26 06:57:47 +00:00
serial payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
storage libpayload/storage/ahci: Use pci_dev struct in ahci_initialize() 2020-10-20 20:39:30 +00:00
timer treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
udc payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
usb libpayload: Make OHCI enums into types 2020-11-08 11:37:09 +00:00
video payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
cbmem_console.c libpayload: Cache physical cbmem console address 2020-08-24 09:12:47 +00:00
hid.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Makefile.inc treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mouse_cursor.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
nvram.c payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
options.c libpayload: use PRIu64 type to print u64 2020-09-30 10:16:44 +00:00
pci.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
speaker.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00