diff options
Diffstat (limited to 'drivers/char/hvc_xen.c')
-rw-r--r-- | drivers/char/hvc_xen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/char/hvc_xen.c b/drivers/char/hvc_xen.c index a6ee32b599a8..60446f82a3fc 100644 --- a/drivers/char/hvc_xen.c +++ b/drivers/char/hvc_xen.c | |||
@@ -25,6 +25,8 @@ | |||
25 | #include <linux/types.h> | 25 | #include <linux/types.h> |
26 | 26 | ||
27 | #include <asm/xen/hypervisor.h> | 27 | #include <asm/xen/hypervisor.h> |
28 | |||
29 | #include <xen/xen.h> | ||
28 | #include <xen/page.h> | 30 | #include <xen/page.h> |
29 | #include <xen/events.h> | 31 | #include <xen/events.h> |
30 | #include <xen/interface/io/console.h> | 32 | #include <xen/interface/io/console.h> |
@@ -120,7 +122,7 @@ static int read_console(uint32_t vtermno, char *buf, int len) | |||
120 | return recv; | 122 | return recv; |
121 | } | 123 | } |
122 | 124 | ||
123 | static struct hv_ops hvc_ops = { | 125 | static const struct hv_ops hvc_ops = { |
124 | .get_chars = read_console, | 126 | .get_chars = read_console, |
125 | .put_chars = write_console, | 127 | .put_chars = write_console, |
126 | .notifier_add = notifier_add_irq, | 128 | .notifier_add = notifier_add_irq, |