Skip to content

Commit 2922a65

Browse files
Cai Yulonglijinxia
authored andcommitted
hv: fix compile error
function definition in header file must be signed as static inline type Signed-off-by: Cai Yulong <yulongc@hwtc.com.cn> Acked-by: Eddie Dong <eddie.dong@intel.com>
1 parent aa505a2 commit 2922a65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hypervisor/include/debug/console.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ static inline void console_dump_bytes(__unused const void *p,
100100
static inline void console_setup_timer(void) {}
101101
static inline uint32_t get_serial_handle(void) { return 0; }
102102

103-
void suspend_console(void) {}
104-
void resume_console_enable(void) {}
103+
static inline void suspend_console(void) {}
104+
static inline void resume_console_enable(void) {}
105105
#endif
106106

107107
#endif /* CONSOLE_H */

0 commit comments

Comments
 (0)