diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2022-03-11 18:00:54 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2022-03-11 18:00:54 +0000 |
commit | cfb4d61dc1dd87dca103128e4ad1ae774cc70cdc (patch) | |
tree | 6aea6d82a08b4b76b7e20217ed0f623bff22e12e /sys/dev/pci/if_vge.c | |
parent | b9269c543aa26a0786f58657c5d117f81c8f67e3 (diff) |
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/if_vge.c')
-rw-r--r-- | sys/dev/pci/if_vge.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 }; |