summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ti_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/if_ti_pci.c
parentb9269c543aa26a0786f58657c5d117f81c8f67e3 (diff)
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/if_ti_pci.c')
-rw-r--r--sys/dev/pci/if_ti_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ti_pci.c b/sys/dev/pci/if_ti_pci.c
index 41f5cea357d..05f6aa9b7fc 100644
--- a/sys/dev/pci/if_ti_pci.c
+++ b/sys/dev/pci/if_ti_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti_pci.c,v 1.6 2022/01/09 05:42:56 jsg Exp $ */
+/* $OpenBSD: if_ti_pci.c,v 1.7 2022/03/11 18:00:50 mpi Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -92,7 +92,7 @@
int ti_pci_match(struct device *, void *, void *);
void ti_pci_attach(struct device *, struct device *, void *);
-struct cfattach ti_pci_ca = {
+const struct cfattach ti_pci_ca = {
sizeof(struct ti_softc), ti_pci_match, ti_pci_attach
};