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_pgt_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_pgt_pci.c') diff --git a/sys/dev/pci/if_pgt_pci.c b/sys/dev/pci/if_pgt_pci.c index de05789deae..dba3bdb7ed8 100644 --- a/sys/dev/pci/if_pgt_pci.c +++ b/sys/dev/pci/if_pgt_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pgt_pci.c,v 1.18 2015/12/11 16:07:02 mpi Exp $ */ +/* $OpenBSD: if_pgt_pci.c,v 1.19 2022/03/11 18:00:48 mpi Exp $ */ /* * Copyright (c) 2006 Marcus Glocker @@ -65,7 +65,7 @@ struct pgt_pci_softc { bus_size_t sc_mapsize; }; -struct cfattach pgt_pci_ca = { +const struct cfattach pgt_pci_ca = { sizeof(struct pgt_pci_softc), pgt_pci_match, pgt_pci_attach, pgt_pci_detach, pgt_activate }; -- cgit v1.2.3