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/km.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/km.c') diff --git a/sys/dev/pci/km.c b/sys/dev/pci/km.c index e4dc23ce579..47a78fa0e29 100644 --- a/sys/dev/pci/km.c +++ b/sys/dev/pci/km.c @@ -1,4 +1,4 @@ -/* $OpenBSD: km.c,v 1.13 2020/01/05 01:07:58 jsg Exp $ */ +/* $OpenBSD: km.c,v 1.14 2022/03/11 18:00:50 mpi Exp $ */ /* * Copyright (c) 2008 Constantine A. Murenin @@ -58,7 +58,7 @@ int km_match(struct device *, void *, void *); void km_attach(struct device *, struct device *, void *); void km_refresh(void *); -struct cfattach km_ca = { +const struct cfattach km_ca = { sizeof(struct km_softc), km_match, km_attach }; -- cgit v1.2.3