summaryrefslogtreecommitdiff
path: root/sys/dev/pci/adv_pci.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/adv_pci.c
parentb9269c543aa26a0786f58657c5d117f81c8f67e3 (diff)
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/adv_pci.c')
-rw-r--r--sys/dev/pci/adv_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/adv_pci.c b/sys/dev/pci/adv_pci.c
index dc585eea330..b870cc1d11c 100644
--- a/sys/dev/pci/adv_pci.c
+++ b/sys/dev/pci/adv_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adv_pci.c,v 1.14 2021/03/05 12:40:13 jsg Exp $ */
+/* $OpenBSD: adv_pci.c,v 1.15 2022/03/11 18:00:45 mpi Exp $ */
/* $NetBSD: adv_pci.c,v 1.5 1998/09/26 15:52:55 dante Exp $ */
/*
@@ -84,7 +84,7 @@
int adv_pci_match(struct device *, void *, void *);
void adv_pci_attach(struct device *, struct device *, void *);
-struct cfattach adv_pci_ca =
+const struct cfattach adv_pci_ca =
{
sizeof(ASC_SOFTC), adv_pci_match, adv_pci_attach
};