Merge greybus driver tree into 4.8-rc6
[sfrench/cifs-2.6.git] / include / xen / hvc-console.h
1 #ifndef XEN_HVC_CONSOLE_H
2 #define XEN_HVC_CONSOLE_H
3
4 extern struct console xenboot_console;
5
6 #ifdef CONFIG_HVC_XEN
7 void xen_console_resume(void);
8 void xen_raw_console_write(const char *str);
9 __printf(1, 2)
10 void xen_raw_printk(const char *fmt, ...);
11 #else
12 static inline void xen_console_resume(void) { }
13 static inline void xen_raw_console_write(const char *str) { }
14 static inline __printf(1, 2)
15 void xen_raw_printk(const char *fmt, ...) { }
16 #endif
17
18 #endif  /* XEN_HVC_CONSOLE_H */