summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pcscp.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2022-03-11 18:00:54 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2022-03-11 18:00:54 +0000
commitcfb4d61dc1dd87dca103128e4ad1ae774cc70cdc (patch)
tree6aea6d82a08b4b76b7e20217ed0f623bff22e12e /sys/dev/pci/pcscp.c
parentb9269c543aa26a0786f58657c5d117f81c8f67e3 (diff)
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/pcscp.c')
-rw-r--r--sys/dev/pci/pcscp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pcscp.c b/sys/dev/pci/pcscp.c
index dd6f0378ec9..f1e862802ae 100644
--- a/sys/dev/pci/pcscp.c
+++ b/sys/dev/pci/pcscp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcscp.c,v 1.20 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: pcscp.c,v 1.21 2022/03/11 18:00:51 mpi Exp $ */
/* $NetBSD: pcscp.c,v 1.26 2003/10/19 10:25:42 tsutsui Exp $ */
/*-
@@ -95,7 +95,7 @@ struct pcscp_softc {
int pcscp_match(struct device *, void *, void *);
void pcscp_attach(struct device *, struct device *, void *);
-struct cfattach pcscp_ca = {
+const struct cfattach pcscp_ca = {
sizeof(struct pcscp_softc), pcscp_match, pcscp_attach
};