diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2022-03-11 18:00:54 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2022-03-11 18:00:54 +0000 |
commit | cfb4d61dc1dd87dca103128e4ad1ae774cc70cdc (patch) | |
tree | 6aea6d82a08b4b76b7e20217ed0f623bff22e12e /sys/dev/pci/cz.c | |
parent | b9269c543aa26a0786f58657c5d117f81c8f67e3 (diff) |
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/cz.c')
-rw-r--r-- | sys/dev/pci/cz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/cz.c b/sys/dev/pci/cz.c index d408307aac3..bb88a065365 100644 --- a/sys/dev/pci/cz.c +++ b/sys/dev/pci/cz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cz.c,v 1.26 2022/01/09 05:42:45 jsg Exp $ */ +/* $OpenBSD: cz.c,v 1.27 2022/03/11 18:00:45 mpi Exp $ */ /* $NetBSD: cz.c,v 1.15 2001/01/20 19:10:36 thorpej Exp $ */ /*- @@ -165,7 +165,7 @@ int cz_match(struct device *, void *, void *); void cz_attach(struct device *, struct device *, void *); int cz_wait_pci_doorbell(struct cz_softc *, char *); -struct cfattach cz_ca = { +const struct cfattach cz_ca = { sizeof(struct cz_softc), cz_match, cz_attach }; |