aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/virtio_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/virtio_console.c')
-rw-r--r--drivers/char/virtio_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index 1d844a43a6bf..791be4e91d15 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -163,7 +163,7 @@ static void hvc_handle_input(struct virtqueue *vq)
163} 163}
164 164
165/* The operations for the console. */ 165/* The operations for the console. */
166static struct hv_ops hv_ops = { 166static const struct hv_ops hv_ops = {
167 .get_chars = get_chars, 167 .get_chars = get_chars,
168 .put_chars = put_chars, 168 .put_chars = put_chars,
169 .notifier_add = notifier_add_vio, 169 .notifier_add = notifier_add_vio,