From a659756f5b7f65c299334dd83e8c990521498c1c Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Sun, 24 Oct 2021 17:52:29 +0000 Subject: Constify struct cfattach. ok visa@ a long time ago, ok patrick@ --- sys/dev/fdt/bcm2835_temp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/fdt/bcm2835_temp.c') diff --git a/sys/dev/fdt/bcm2835_temp.c b/sys/dev/fdt/bcm2835_temp.c index c5aab990656..bd2e2d89775 100644 --- a/sys/dev/fdt/bcm2835_temp.c +++ b/sys/dev/fdt/bcm2835_temp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcm2835_temp.c,v 1.1 2018/02/24 11:06:59 kettenis Exp $ */ +/* $OpenBSD: bcm2835_temp.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */ /* * Copyright (c) 2018 Mark Kettenis * @@ -52,7 +52,7 @@ struct bcmtemp_softc { int bcmtemp_match(struct device *, void *, void *); void bcmtemp_attach(struct device *, struct device *, void *); -struct cfattach bcmtemp_ca = { +const struct cfattach bcmtemp_ca = { sizeof (struct bcmtemp_softc), bcmtemp_match, bcmtemp_attach }; -- cgit v1.2.3