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_vge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_vge.c') diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c index 5581de29d25..e04c40eea99 100644 --- a/sys/dev/pci/if_vge.c +++ b/sys/dev/pci/if_vge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vge.c,v 1.75 2022/01/09 05:42:56 jsg Exp $ */ +/* $OpenBSD: if_vge.c,v 1.76 2022/03/11 18:00:50 mpi Exp $ */ /* $FreeBSD: if_vge.c,v 1.3 2004/09/11 22:13:25 wpaul Exp $ */ /* * Copyright (c) 2004 @@ -153,7 +153,7 @@ int vge_cam_set (struct vge_softc *, uint8_t *); void vge_iff (struct vge_softc *); void vge_reset (struct vge_softc *); -struct cfattach vge_ca = { +const struct cfattach vge_ca = { sizeof(struct vge_softc), vge_probe, vge_attach, vge_detach }; -- cgit v1.2.3