summaryrefslogtreecommitdiff
path: root/sys/dev/pci/virtio_pci.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2024-08-27 19:01:12 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2024-08-27 19:01:12 +0000
commit9a294b6e2aa7baeefb147256133475a2f180bdb4 (patch)
tree2b67211e686f2e20bc97a2bef54990c58938ae5a /sys/dev/pci/virtio_pci.c
parent783db51cf3eb24d5bdf5aba1511256c3aff2022b (diff)
constify struct virtio_ops
OK bluhm@
Diffstat (limited to 'sys/dev/pci/virtio_pci.c')
-rw-r--r--sys/dev/pci/virtio_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/virtio_pci.c b/sys/dev/pci/virtio_pci.c
index 9b8842b03c4..f7b2acda17b 100644
--- a/sys/dev/pci/virtio_pci.c
+++ b/sys/dev/pci/virtio_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: virtio_pci.c,v 1.39 2024/08/26 19:37:54 sf Exp $ */
+/* $OpenBSD: virtio_pci.c,v 1.40 2024/08/27 19:01:11 sf Exp $ */
/* $NetBSD: virtio.c,v 1.3 2011/11/02 23:05:52 njoly Exp $ */
/*
@@ -151,7 +151,7 @@ const struct cfattach virtio_pci_ca = {
NULL
};
-struct virtio_ops virtio_pci_ops = {
+const struct virtio_ops virtio_pci_ops = {
virtio_pci_kick,
virtio_pci_read_device_config_1,
virtio_pci_read_device_config_2,