From ecd34776fe2c5a8a2e74ded8ea4c93337cf01d30 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Sun, 13 Mar 2022 08:04:39 +0000 Subject: Constify struct cfattach. ok miod@ --- sys/arch/alpha/pci/apecs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/alpha/pci/apecs.c') diff --git a/sys/arch/alpha/pci/apecs.c b/sys/arch/alpha/pci/apecs.c index 43dc7578570..9a8c08c03d0 100644 --- a/sys/arch/alpha/pci/apecs.c +++ b/sys/arch/alpha/pci/apecs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apecs.c,v 1.22 2009/03/30 21:43:13 kettenis Exp $ */ +/* $OpenBSD: apecs.c,v 1.23 2022/03/13 08:04:13 mpi Exp $ */ /* $NetBSD: apecs.c,v 1.16 1996/12/05 01:39:34 cgd Exp $ */ /*- @@ -90,7 +90,7 @@ int apecsmatch(struct device *, void *, void *); void apecsattach(struct device *, struct device *, void *); -struct cfattach apecs_ca = { +const struct cfattach apecs_ca = { sizeof(struct device), apecsmatch, apecsattach, }; -- cgit v1.2.3