x86 BIST: Declare function with inline in header file

Change-Id: Ieb5f1668a715ceadd5fe5ba0d121c865f1886038
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/17572
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Kyösti Mälkki 2016-11-23 00:54:19 +02:00 committed by Nico Huber
parent ba1730b181
commit c36fa6433e
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#ifndef CPU_X86_BIST_H #ifndef CPU_X86_BIST_H
#define CPU_X86_BIST_H #define CPU_X86_BIST_H
static void report_bist_failure(u32 bist) static inline void report_bist_failure(u32 bist)
{ {
if (bist != 0) { if (bist != 0) {
printk(BIOS_EMERG, "BIST failed: %08x", bist); printk(BIOS_EMERG, "BIST failed: %08x", bist);