aboutsummaryrefslogtreecommitdiff
path: root/include/xen/hvc-console.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xen/hvc-console.h')
-rw-r--r--include/xen/hvc-console.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/xen/hvc-console.h b/include/xen/hvc-console.h
index fd5483a059b..98b79bc404d 100644
--- a/include/xen/hvc-console.h
+++ b/include/xen/hvc-console.h
@@ -3,7 +3,11 @@
extern struct console xenboot_console;
+#ifdef CONFIG_HVC_XEN
void xen_console_resume(void);
+#else
+static inline void xen_console_resume(void) { }
+#endif
void xen_raw_console_write(const char *str);
void xen_raw_printk(const char *fmt, ...);