From cfb4d61dc1dd87dca103128e4ad1ae774cc70cdc Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Fri, 11 Mar 2022 18:00:54 +0000 Subject: Constify struct cfattach. --- sys/dev/pci/if_myx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_myx.c') diff --git a/sys/dev/pci/if_myx.c b/sys/dev/pci/if_myx.c index 99a5d2a3b98..76012c1134a 100644 --- a/sys/dev/pci/if_myx.c +++ b/sys/dev/pci/if_myx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_myx.c,v 1.115 2021/02/08 08:18:45 mpi Exp $ */ +/* $OpenBSD: if_myx.c,v 1.116 2022/03/11 18:00:48 mpi Exp $ */ /* * Copyright (c) 2007 Reyk Floeter @@ -247,7 +247,7 @@ void myx_kstat_stop(struct myx_softc *); struct cfdriver myx_cd = { NULL, "myx", DV_IFNET }; -struct cfattach myx_ca = { +const struct cfattach myx_ca = { sizeof(struct myx_softc), myx_match, myx_attach }; -- cgit v1.2.3