]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/char/virtio_console.c
hvc_console: make the ops pointer const.
[mv-sheeva.git] / drivers / char / virtio_console.c
index 1d844a43a6bf252b52ccfddbaeb12bc59ecdb3ed..791be4e91d15dad783cc45c153dd43ed8d275743 100644 (file)
@@ -163,7 +163,7 @@ static void hvc_handle_input(struct virtqueue *vq)
 }
 
 /* The operations for the console. */
-static struct hv_ops hv_ops = {
+static const struct hv_ops hv_ops = {
        .get_chars = get_chars,
        .put_chars = put_chars,
        .notifier_add = notifier_add_vio,