summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_pcn.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/if_pcn.c
parentb9269c543aa26a0786f58657c5d117f81c8f67e3 (diff)
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/if_pcn.c')
-rw-r--r--sys/dev/pci/if_pcn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_pcn.c b/sys/dev/pci/if_pcn.c
index 09c1b3b9370..5db8af9da3f 100644
--- a/sys/dev/pci/if_pcn.c
+++ b/sys/dev/pci/if_pcn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pcn.c,v 1.46 2022/01/16 11:34:05 dlg Exp $ */
+/* $OpenBSD: if_pcn.c,v 1.47 2022/03/11 18:00:48 mpi Exp $ */
/* $NetBSD: if_pcn.c,v 1.26 2005/05/07 09:15:44 is Exp $ */
/*
@@ -470,7 +470,7 @@ int pcn_copy_small = 0;
int pcn_match(struct device *, void *, void *);
void pcn_attach(struct device *, struct device *, void *);
-struct cfattach pcn_ca = {
+const struct cfattach pcn_ca = {
sizeof(struct pcn_softc), pcn_match, pcn_attach,
};