diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-11-05 11:38:53 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-11-05 11:38:53 +0000 |
commit | a1c74e0892564c2b523826a589ae7560dc6e86bd (patch) | |
tree | 390529c0ebbd4f16e9f60c1b7e28f80ebcb4fc63 /sys/dev/pv/viomb.c | |
parent | 37dc92eefc7c05e6de78c9fbf258b14f6edca16e (diff) |
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pv/viomb.c')
-rw-r--r-- | sys/dev/pv/viomb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/viomb.c b/sys/dev/pv/viomb.c index d4b09642ac4..8169770553e 100644 --- a/sys/dev/pv/viomb.c +++ b/sys/dev/pv/viomb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: viomb.c,v 1.7 2020/09/04 13:10:16 bket Exp $ */ +/* $OpenBSD: viomb.c,v 1.8 2021/11/05 11:38:29 mpi Exp $ */ /* $NetBSD: viomb.c,v 1.1 2011/10/30 12:12:21 hannken Exp $ */ /* @@ -114,7 +114,7 @@ int viomb_vq_dequeue(struct virtqueue *); int viomb_inflate_intr(struct virtqueue *); int viomb_deflate_intr(struct virtqueue *); -struct cfattach viomb_ca = { +const struct cfattach viomb_ca = { sizeof(struct viomb_softc), viomb_match, viomb_attach }; |