summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ale.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_ale.c
parentb9269c543aa26a0786f58657c5d117f81c8f67e3 (diff)
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/if_ale.c')
-rw-r--r--sys/dev/pci/if_ale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ale.c b/sys/dev/pci/if_ale.c
index fecc6f0ef27..c1998c8bd30 100644
--- a/sys/dev/pci/if_ale.c
+++ b/sys/dev/pci/if_ale.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ale.c,v 1.48 2020/07/10 13:26:37 patrick Exp $ */
+/* $OpenBSD: if_ale.c,v 1.49 2022/03/11 18:00:45 mpi Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -113,7 +113,7 @@ const struct pci_matchid ale_devices[] = {
{ PCI_VENDOR_ATTANSIC, PCI_PRODUCT_ATTANSIC_L1E }
};
-struct cfattach ale_ca = {
+const struct cfattach ale_ca = {
sizeof (struct ale_softc), ale_match, ale_attach, NULL,
ale_activate
};