From 2922a657c919af0542a29b6655374287dd984008 Mon Sep 17 00:00:00 2001 From: Cai Yulong Date: Thu, 21 Jun 2018 09:21:02 +0800 Subject: [PATCH] hv: fix compile error function definition in header file must be signed as static inline type Signed-off-by: Cai Yulong Acked-by: Eddie Dong --- hypervisor/include/debug/console.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hypervisor/include/debug/console.h b/hypervisor/include/debug/console.h index f6ca6b82e..15c5bfda9 100644 --- a/hypervisor/include/debug/console.h +++ b/hypervisor/include/debug/console.h @@ -100,8 +100,8 @@ static inline void console_dump_bytes(__unused const void *p, static inline void console_setup_timer(void) {} static inline uint32_t get_serial_handle(void) { return 0; } -void suspend_console(void) {} -void resume_console_enable(void) {} +static inline void suspend_console(void) {} +static inline void resume_console_enable(void) {} #endif #endif /* CONSOLE_H */