diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2020-11-02 21:32:08 -0700 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2020-11-08 11:37:09 +0000 |
commit | 85d93ffc0a7b1eb5f24d6b8ec637497c4bdbd090 (patch) | |
tree | 7f2164f7a7a0a7871189582321350bfe7665e364 /src/mainboard/Kconfig | |
parent | c98baa7a80ff5bc0a2f8c4d2a5fa24cd8f139979 (diff) |
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>
Diffstat (limited to 'src/mainboard/Kconfig')
0 files changed, 0 insertions, 0 deletions