amd/agesa/s3_resume: Make compiler agnostic.
Clang does not like inline functions defined in C files with prototypes in headers. Rather Clang expects inline function bodies to be in headers if they are to be used out of scope. Since inline is purely advisory to the compiler, drop its usage here. Change-Id: I08a7a3d2cdf841ffbab10c017c75917768aac209 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5429 Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Tested-by: build bot (Jenkins)
This commit is contained in:
committed by
Patrick Georgi
parent
ab180d85f7
commit
c814be4158
@ -103,7 +103,7 @@ void restore_mtrr(void)
|
||||
wrmsr(SYS_CFG, msr_data);
|
||||
}
|
||||
|
||||
inline void *backup_resume(void)
|
||||
void *backup_resume(void)
|
||||
{
|
||||
void *resume_backup_memory;
|
||||
|
||||
|
Reference in New Issue
Block a user