diff options
| author | Simon Glass <[email protected]> | 2023-08-31 11:20:53 -0600 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2023-09-22 06:03:46 +0800 |
| commit | 0879de0e8b110da1d35db45f086c60cf777f2732 (patch) | |
| tree | fa176ab10db15b07ae2decb67450cc7141dd930a /include | |
| parent | 48bf738e3622a94b96a57055ff0f6466f5830bd4 (diff) | |
x86: coreboot: Avoid a declaration after a label
Declare the global_data pointer at the top of the file, to avoid an
error:
arch/x86/include/asm/global_data.h:143:35: error: a label can
only be part of a statement and a declaration is not a statement
board/coreboot/coreboot/coreboot.c:60:2: note: in expansion of macro
‘DECLARE_GLOBAL_DATA_PTR’
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Mike Frysinger <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
