summaryrefslogtreecommitdiff
path: root/sys/dev/pci/esa.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/esa.c
parentb9269c543aa26a0786f58657c5d117f81c8f67e3 (diff)
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/esa.c')
-rw-r--r--sys/dev/pci/esa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/esa.c b/sys/dev/pci/esa.c
index 7d3627d8862..4374f7a63e7 100644
--- a/sys/dev/pci/esa.c
+++ b/sys/dev/pci/esa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esa.c,v 1.36 2022/02/16 06:21:19 anton Exp $ */
+/* $OpenBSD: esa.c,v 1.37 2022/03/11 18:00:45 mpi Exp $ */
/* $NetBSD: esa.c,v 1.12 2002/03/24 14:17:35 jmcneill Exp $ */
/*
@@ -180,7 +180,7 @@ struct cfdriver esa_cd = {
NULL, "esa", DV_DULL
};
-struct cfattach esa_ca = {
+const struct cfattach esa_ca = {
sizeof(struct esa_softc), esa_match, esa_attach,
esa_detach, esa_activate
};