summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-06 18:59:31 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-06 18:59:31 +0000
commitebc1b592da53d1d38401806437530b56bffc8afd (patch)
tree5ee147f2b5a9dc203dd38da2c735f246fa830f58 /sys/arch/macppc
parent90576ca3c44963267c861feb5432ae35c1ccd46b (diff)
constify struct cfattach
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/dev/if_mc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/if_mc.c b/sys/arch/macppc/dev/if_mc.c
index 0f384ba3f08..a4175ee8739 100644
--- a/sys/arch/macppc/dev/if_mc.c
+++ b/sys/arch/macppc/dev/if_mc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mc.c,v 1.32 2022/02/22 01:15:01 guenther Exp $ */
+/* $OpenBSD: if_mc.c,v 1.33 2022/04/06 18:59:26 naddy Exp $ */
/* $NetBSD: if_mc.c,v 1.9.16.1 2006/06/21 14:53:13 yamt Exp $ */
/*-
@@ -298,7 +298,7 @@ struct mc_softc {
int mc_match(struct device *, void *, void *);
void mc_attach(struct device *, struct device *, void *);
-struct cfattach mc_ca = {
+const struct cfattach mc_ca = {
sizeof(struct mc_softc), mc_match, mc_attach
};