aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/virtio_console.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/virtio_console.h')
-rw-r--r--include/linux/virtio_console.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h
new file mode 100644
index 000000000000..ed2d4ead7eb7
--- /dev/null
+++ b/include/linux/virtio_console.h
@@ -0,0 +1,12 @@
1#ifndef _LINUX_VIRTIO_CONSOLE_H
2#define _LINUX_VIRTIO_CONSOLE_H
3#include <linux/virtio_config.h>
4
5/* The ID for virtio console */
6#define VIRTIO_ID_CONSOLE 3
7
8#ifdef __KERNEL__
9int __init virtio_cons_early_init(int (*put_chars)(u32, const char *, int));
10#endif /* __KERNEL__ */
11
12#endif /* _LINUX_VIRTIO_CONSOLE_H */