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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h
index fe885174cc1f..92228a8fbcbc 100644
--- a/include/linux/virtio_console.h
+++ b/include/linux/virtio_console.h
@@ -3,8 +3,12 @@
3#include <linux/types.h> 3#include <linux/types.h>
4#include <linux/virtio_ids.h> 4#include <linux/virtio_ids.h>
5#include <linux/virtio_config.h> 5#include <linux/virtio_config.h>
6/* This header, excluding the #ifdef __KERNEL__ part, is BSD licensed so 6/*
7 * anyone can use the definitions to implement compatible drivers/servers. */ 7 * This header, excluding the #ifdef __KERNEL__ part, is BSD licensed so
8 * anyone can use the definitions to implement compatible drivers/servers.
9 *
10 * Copyright (C) Red Hat, Inc., 2009, 2010
11 */
8 12
9/* Feature bits */ 13/* Feature bits */
10#define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */ 14#define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */
@@ -16,7 +20,6 @@ struct virtio_console_config {
16 __u16 rows; 20 __u16 rows;
17} __attribute__((packed)); 21} __attribute__((packed));
18 22
19
20#ifdef __KERNEL__ 23#ifdef __KERNEL__
21int __init virtio_cons_early_init(int (*put_chars)(u32, const char *, int)); 24int __init virtio_cons_early_init(int (*put_chars)(u32, const char *, int));
22#endif /* __KERNEL__ */ 25#endif /* __KERNEL__ */