diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c index 29f3724b18..d4718c60cc 100644 --- a/src/cpu/x86/lapic/lapic_cpu_init.c +++ b/src/cpu/x86/lapic/lapic_cpu_init.c @@ -241,7 +241,7 @@ static void *stacks[CONFIG_MAX_CPUS]; volatile unsigned long secondary_stack; volatile unsigned int secondary_cpu_index; -int start_cpu(struct device *cpu) +static int start_cpu(struct device *cpu) { struct cpu_info *info; uintptr_t stack_top; diff --git a/src/include/cpu/x86/lapic.h b/src/include/cpu/x86/lapic.h index 717fc9aa38..ab2843f69a 100644 --- a/src/include/cpu/x86/lapic.h +++ b/src/include/cpu/x86/lapic.h @@ -139,7 +139,4 @@ static inline void setup_lapic(void) disable_lapic(); } -struct device; -int start_cpu(struct device *cpu); - #endif /* CPU_X86_LAPIC_H */