summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ipw.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_ipw.c
parentb9269c543aa26a0786f58657c5d117f81c8f67e3 (diff)
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/if_ipw.c')
-rw-r--r--sys/dev/pci/if_ipw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c
index 6a0613760c9..99c00d56d60 100644
--- a/sys/dev/pci/if_ipw.c
+++ b/sys/dev/pci/if_ipw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ipw.c,v 1.130 2022/01/09 05:42:50 jsg Exp $ */
+/* $OpenBSD: if_ipw.c,v 1.131 2022/03/11 18:00:45 mpi Exp $ */
/*-
* Copyright (c) 2004-2008
@@ -129,7 +129,7 @@ int ipw_debug = 0;
#define DPRINTFN(n, x)
#endif
-struct cfattach ipw_ca = {
+const struct cfattach ipw_ca = {
sizeof (struct ipw_softc), ipw_match, ipw_attach, NULL,
ipw_activate
};