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
..
2020-09-21 16:20:57 +00:00
2020-09-21 16:20:57 +00:00
2020-09-21 16:20:57 +00:00
2020-09-21 16:20:57 +00:00
2020-09-21 16:20:57 +00:00
2020-09-27 13:12:33 +00:00
2020-09-21 16:20:57 +00:00
2020-06-06 09:26:02 +00:00